diff options
Diffstat (limited to 'aepd/websocket-protocol.c')
-rw-r--r-- | aepd/websocket-protocol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/aepd/websocket-protocol.c b/aepd/websocket-protocol.c index 4a29390..666827d 100644 --- a/aepd/websocket-protocol.c +++ b/aepd/websocket-protocol.c @@ -63,7 +63,7 @@ static int callback_http(struct libwebsocket_context *context, sprintf(buf, LOCAL_RESOURCE_PATH"%s", whitelist[n].urlpath); if (libwebsockets_serve_http_file(context, wsi, buf, - whitelist[n].mimetype, NULL)) + whitelist[n].mimetype, NULL, 0)) fprintf(stderr, "Failed to send HTTP file\n"); break; |