mirror of
https://github.com/owntone/owntone-server.git
synced 2025-04-17 01:20:04 -04:00
Fix HTTP error return in daap_session_find()
This commit is contained in:
parent
eae5370c08
commit
b5b9f92d97
@ -644,7 +644,7 @@ daap_session_find(struct evhttp_request *req, struct evkeyvalq *query, struct ev
|
|||||||
return (struct daap_session *)node->item;
|
return (struct daap_session *)node->item;
|
||||||
|
|
||||||
invalid:
|
invalid:
|
||||||
evhttp_send_reply(req, 403, "Forbidden", evbuf);
|
evhttp_send_error(req, 403, "Forbidden");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user