libmicrohttpd

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

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

Added more workarounds for uncrustify bugs

Diffstat:
Mdoc/examples/websocket.c | 4++--
Msrc/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 @@ -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 @@ -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" \