Fix HTTP error return in daap_session_find()

This commit is contained in:
Julien BLACHE 2010-01-27 12:18:22 +01:00
parent eae5370c08
commit b5b9f92d97
1 changed files with 1 additions and 1 deletions

View File

@ -644,7 +644,7 @@ daap_session_find(struct evhttp_request *req, struct evkeyvalq *query, struct ev
return (struct daap_session *)node->item;
invalid:
evhttp_send_reply(req, 403, "Forbidden", evbuf);
evhttp_send_error(req, 403, "Forbidden");
return NULL;
}