mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-07 12:53:00 -05:00
Fixup for libevent 2.0
This commit is contained in:
@@ -106,7 +106,11 @@ request_cb(struct evhttp_request *req, void *arg)
|
||||
}
|
||||
|
||||
response_code = evhttp_request_get_response_code(req);
|
||||
#ifndef HAVE_LIBEVENT2_OLD
|
||||
response_code_line = evhttp_request_get_response_code_line(req);
|
||||
#else
|
||||
response_code_line = "no error text";
|
||||
#endif
|
||||
|
||||
if (response_code == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user