diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2020-10-29 19:26:23 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2020-10-29 19:26:23 +0300 |
commit | a3b6d06f3270b3a237250f8e35abd862adf11e4a (patch) | |
tree | dcb41729978671c35bca0115de44ab60ed1c0f4b | |
parent | ee18f2421ad86fae7c6017cf9fbe28c7080e7690 (diff) | |
download | libmicrohttpd-a3b6d06f3270b3a237250f8e35abd862adf11e4a.tar.gz libmicrohttpd-a3b6d06f3270b3a237250f8e35abd862adf11e4a.zip |
Fix for ee18f2421ad86fae7c6017cf9fbe28c7080e7690
-rw-r--r-- | src/examples/websocket_threaded_example.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/websocket_threaded_example.c b/src/examples/websocket_threaded_example.c index 8d99e1f7..b6f9cee9 100644 --- a/src/examples/websocket_threaded_example.c +++ b/src/examples/websocket_threaded_example.c | |||
@@ -853,7 +853,7 @@ ahc_cb (void *cls, struct MHD_Connection *con, const char *url, | |||
853 | con, MHD_HEADER_KIND, | 853 | con, MHD_HEADER_KIND, |
854 | MHD_HTTP_HEADER_SEC_WEBSOCKET_KEY, | 854 | MHD_HTTP_HEADER_SEC_WEBSOCKET_KEY, |
855 | strlen (MHD_HTTP_HEADER_SEC_WEBSOCKET_KEY), | 855 | strlen (MHD_HTTP_HEADER_SEC_WEBSOCKET_KEY), |
856 | ws_key_header, &key_size); | 856 | &ws_key_header, &key_size); |
857 | if ((MHD_NO == ret) || (key_size != WS_KEY_LEN)) | 857 | if ((MHD_NO == ret) || (key_size != WS_KEY_LEN)) |
858 | { | 858 | { |
859 | return send_bad_request (con); | 859 | return send_bad_request (con); |