mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-26 14:13:18 -05:00
Rename webface_cb() to httpd_gen_cb()
This commit is contained in:
parent
cd6f87401a
commit
2530c3512b
@ -693,7 +693,7 @@ serve_file(struct evhttp_request *req, char *uri)
|
||||
|
||||
/* Thread: httpd */
|
||||
static void
|
||||
webface_cb(struct evhttp_request *req, void *arg)
|
||||
httpd_gen_cb(struct evhttp_request *req, void *arg)
|
||||
{
|
||||
const char *req_uri;
|
||||
char *uri;
|
||||
@ -1019,7 +1019,7 @@ httpd_init(void)
|
||||
}
|
||||
}
|
||||
|
||||
evhttp_set_gencb(evhttpd, webface_cb, NULL);
|
||||
evhttp_set_gencb(evhttpd, httpd_gen_cb, NULL);
|
||||
|
||||
ret = pthread_create(&tid_httpd, NULL, httpd, NULL);
|
||||
if (ret != 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user