mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-22 02:35:32 -05:00
[-] Fixup ifdef WEBSOCKET->HAVE_LIBWEBSOCKETS that I missed
This commit is contained in:
@@ -83,7 +83,7 @@ jsonapi_reply_config(struct evhttp_request *req, struct evbuffer *evbuf, char *u
|
||||
reply = json_object_new_object();
|
||||
|
||||
// Websocket port
|
||||
#ifdef WEBSOCKET
|
||||
#ifdef HAVE_LIBWEBSOCKETS
|
||||
websocket_port = cfg_getint(cfg_getsec(cfg, "general"), "websocket_port");
|
||||
#else
|
||||
websocket_port = 0;
|
||||
|
||||
Reference in New Issue
Block a user