mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-24 05:03:17 -05:00
[httpd] Fixup commit 5d7e3dc0 in case NULL isn't zero
This commit is contained in:
parent
d0ff361ae0
commit
40f43840f2
@ -697,7 +697,9 @@ stream_new(struct media_file_info *mfi, struct httpd_request *hreq, event_callba
|
|||||||
|
|
||||||
event_active(st->ev, 0, 0);
|
event_active(st->ev, 0, 0);
|
||||||
|
|
||||||
st->no_register_playback = httpd_query_value_find(hreq->query, "no_register_playback");
|
if (httpd_query_value_find(hreq->query, "no_register_playback"))
|
||||||
|
st->no_register_playback = true;
|
||||||
|
|
||||||
st->id = mfi->id;
|
st->id = mfi->id;
|
||||||
st->hreq = hreq;
|
st->hreq = hreq;
|
||||||
return st;
|
return st;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user