gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] 24/36: websocket_threaded_example: fixed wrong commented


From: gnunet
Subject: [libmicrohttpd] 24/36: websocket_threaded_example: fixed wrong commented-out code
Date: Thu, 01 Jun 2023 12:30:29 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

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

    websocket_threaded_example: fixed wrong commented-out code
---
 src/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
index e73b1414..af036d24 100644
--- 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"                                                                  \

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]