mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-13 16:03:23 -05:00
Fix misuse of RAOP_CONNECTED in session state test
This commit is contained in:
parent
5bad343278
commit
5cf5cac9c2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user