libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit dd4f6ff9eae62310dab578f55e116a42abc787ea
parent 3389c7fbbaf65708c3ad73158b2da17020b122f3
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Mon, 22 May 2023 16:56:32 +0300

websocket_threaded_example: fixed wrong commented-out code

Diffstat:
Msrc/examples/websocket_threaded_example.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/examples/websocket_threaded_example.c b/src/examples/websocket_threaded_example.c @@ -38,7 +38,7 @@ "<title>WebSocket chat</title>\n" \ "<script>\n" \ "document.addEventListener('DOMContentLoaded', function() {\n" \ - " const ws = new WebSocket('ws:/" "/ ' + window.location.host);\n" /* \ + " const ws = new WebSocket('ws:/" "/ ' + window.location.host);\n" \ " const btn = document.getElementById('send');\n" \ " const msg = document.getElementById('msg');\n" \ " const log = document.getElementById('log');\n" \ @@ -71,7 +71,7 @@ "<input type='button' id='send' value='Send' /><br /><br />\n" \ "<textarea id='log' rows='20' cols='28'></textarea>\n" \ "</body>\n" \ - "</html>" */ + "</html>" #define BAD_REQUEST_PAGE \ "<html>\n" \ "<head>\n" \