Fix misuse of RAOP_CONNECTED in session state test

This commit is contained in:
Julien BLACHE 2011-03-27 16:23:26 +02:00
parent 5bad343278
commit 5cf5cac9c2

View File

@ -1774,7 +1774,7 @@ raop_set_volume_one(struct raop_session *rs, int volume, raop_status_cb cb)
{
int ret;
if (!(rs->state & RAOP_CONNECTED))
if (!(rs->state & RAOP_F_CONNECTED))
return 0;
ret = raop_set_volume_internal(rs, volume, raop_cb_set_volume);