aboutsummaryrefslogtreecommitdiff
path: root/doc/examples
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-01-18 15:22:35 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-01-18 15:22:35 +0300
commit84a92e8a7130c351b200dedc41b317e8a75ffcac (patch)
treeddb07a7e01bce6581e3703b848062fa673ce1d5f /doc/examples
parentba2d078858f4bd7c4e83cd7c44cc940fa9edb6d9 (diff)
downloadlibmicrohttpd-84a92e8a7130c351b200dedc41b317e8a75ffcac.tar.gz
libmicrohttpd-84a92e8a7130c351b200dedc41b317e8a75ffcac.zip
Added more workarounds for uncrustify bugs
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/websocket.c4
1 files changed, 2 insertions, 2 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 @@
28 "<script>\n" \ 28 "<script>\n" \
29 "\n" \ 29 "\n" \
30 "let url = 'ws' + (window.location.protocol === 'https:' ? 's' : '')" \ 30 "let url = 'ws' + (window.location.protocol === 'https:' ? 's' : '')" \
31 " + '://' +\n" \ 31 " + ':/" "/' +\n" \
32 " window.location.host + '/chat';\n" \ 32 " window.location.host + '/chat';\n" \
33 "let socket = null;\n" \ 33 "let socket = null;\n" \
34 "\n" \ 34 "\n" \
@@ -38,7 +38,7 @@
38 " document.write('The websocket connection has been " \ 38 " document.write('The websocket connection has been " \
39 "established.<br>');\n" \ 39 "established.<br>');\n" \
40 "\n" \ 40 "\n" \
41 " // Send some text\n" \ 41 " /" "/ Send some text\n" \
42 " socket.send('Hello from JavaScript!');\n" \ 42 " socket.send('Hello from JavaScript!');\n" \
43 " }\n" \ 43 " }\n" \
44 "\n" \ 44 "\n" \