diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-09-28 11:46:59 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-09-28 11:46:59 +0300 |
commit | 4adc14c948ac4981a7b4c91c6e16dc5fc39dd97a (patch) | |
tree | 9f0a0ce79d2e5cd35f23e4affc98fc16cf7281ca /doc/examples | |
parent | 13e217f5c2e5647552e4452406a43c8dc0782a35 (diff) | |
download | libmicrohttpd-4adc14c948ac4981a7b4c91c6e16dc5fc39dd97a.tar.gz libmicrohttpd-4adc14c948ac4981a7b4c91c6e16dc5fc39dd97a.zip |
Some readability improvements
Diffstat (limited to 'doc/examples')
-rw-r--r-- | doc/examples/websocket.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/examples/websocket.c b/doc/examples/websocket.c index ea29af62..1d25fe5c 100644 --- a/doc/examples/websocket.c +++ b/doc/examples/websocket.c | |||
@@ -411,8 +411,7 @@ access_handler (void *cls, | |||
411 | { | 411 | { |
412 | struct MHD_Response *response; | 412 | struct MHD_Response *response; |
413 | response = | 413 | response = |
414 | MHD_create_response_from_buffer_static (strlen ( | 414 | MHD_create_response_from_buffer_static (strlen (PAGE_NOT_FOUND), |
415 | PAGE_NOT_FOUND), | ||
416 | PAGE_NOT_FOUND); | 415 | PAGE_NOT_FOUND); |
417 | ret = MHD_queue_response (connection, | 416 | ret = MHD_queue_response (connection, |
418 | MHD_HTTP_NOT_FOUND, | 417 | MHD_HTTP_NOT_FOUND, |