3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/networking/driftnet/libwebsockets-4.3.0.patch
Harrison Houghton d98c11f92f driftnet: fix
The "unused" sentinel value was removed in libwebsockets 4.3.0;
we can no longer pass it in structure initialization.
2021-12-06 15:47:35 -05:00

13 lines
502 B
Diff

diff --git a/src/http_display/httpd.c b/src/http_display/httpd.c
index f4709ef..7921d23 100644
--- a/src/http_display/httpd.c
+++ b/src/http_display/httpd.c
@@ -191,7 +191,6 @@ static void * http_server_dispatch(void *arg)
LWSMPRO_FILE, /* mount type is a directory in a filesystem */
1, /* strlen("/"), ie length of the mountpoint */
NULL,
- { NULL, NULL } // sentinel
};
memset(&info, 0, sizeof info);