mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-27 06:33:21 -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 */
|
/* Thread: httpd */
|
||||||
static void
|
static void
|
||||||
webface_cb(struct evhttp_request *req, void *arg)
|
httpd_gen_cb(struct evhttp_request *req, void *arg)
|
||||||
{
|
{
|
||||||
const char *req_uri;
|
const char *req_uri;
|
||||||
char *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);
|
ret = pthread_create(&tid_httpd, NULL, httpd, NULL);
|
||||||
if (ret != 0)
|
if (ret != 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user