gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] 04/04: Added more workarounds for uncrustify bugs


From: gnunet
Subject: [libmicrohttpd] 04/04: Added more workarounds for uncrustify bugs
Date: Tue, 18 Jan 2022 13:22:57 +0100

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 84a92e8a7130c351b200dedc41b317e8a75ffcac
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Tue Jan 18 15:22:35 2022 +0300

    Added more workarounds for uncrustify bugs
---
 doc/examples/websocket.c                   | 4 ++--
 src/microhttpd_ws/test_websocket_browser.c | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/examples/websocket.c b/doc/examples/websocket.c
index 5cdf0423..77bc55cd 100644
--- a/doc/examples/websocket.c
+++ b/doc/examples/websocket.c
@@ -28,7 +28,7 @@
   "<script>\n" \
   "\n" \
   "let url = 'ws' + (window.location.protocol === 'https:' ? 's' : '')" \
-    "  + '://' +\n" \
+    "  + ':/" "/' +\n" \
   "          window.location.host + '/chat';\n" \
   "let socket = null;\n" \
   "\n" \
@@ -38,7 +38,7 @@
   "    document.write('The websocket connection has been " \
     "established.<br>');\n" \
   "\n" \
-  "    // Send some text\n" \
+  "    /" "/ Send some text\n" \
   "    socket.send('Hello from JavaScript!');\n" \
   "  }\n" \
   "\n" \
diff --git a/src/microhttpd_ws/test_websocket_browser.c 
b/src/microhttpd_ws/test_websocket_browser.c
index 96e7755f..557ccdde 100644
--- a/src/microhttpd_ws/test_websocket_browser.c
+++ b/src/microhttpd_ws/test_websocket_browser.c
@@ -55,7 +55,7 @@
   "let charset       = 
'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_!@%&/\\\\';\n" 
\
   "let step_to_bytes = [ 0, 1, 2, 3, 122, 123, 124, 125, 126, 127, 128, 32766, 
32767, 32768, 65534, 65535, 65536, 65537, 1048576, 10485760 ];\n" \
   "let url = 'ws' + (window.location.protocol === 'https:' ? 's' : '')" \
-    "  + '://' +\n" \
+    "  + ':/" "/' +\n" \
   "          window.location.host + '/websocket';\n" \
   "let socket = null;\n" \
   "\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]