aboutsummaryrefslogtreecommitdiff
path: root/doc/chapters/websocket.inc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/chapters/websocket.inc')
-rw-r--r--doc/chapters/websocket.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/chapters/websocket.inc b/doc/chapters/websocket.inc
index a480fd13..e1cbdc2b 100644
--- a/doc/chapters/websocket.inc
+++ b/doc/chapters/websocket.inc
@@ -122,7 +122,7 @@ per connection, could look like this:
122static void 122static void
123upgrade_handler (void *cls, 123upgrade_handler (void *cls,
124 struct MHD_Connection *connection, 124 struct MHD_Connection *connection,
125 void *con_cls, 125 void *req_cls,
126 const char *extra_in, 126 const char *extra_in,
127 size_t extra_in_size, 127 size_t extra_in_size,
128 MHD_socket fd, 128 MHD_socket fd,
@@ -501,7 +501,7 @@ callback function from an earlier example to a working websocket:
501static void 501static void
502upgrade_handler (void *cls, 502upgrade_handler (void *cls,
503 struct MHD_Connection *connection, 503 struct MHD_Connection *connection,
504 void *con_cls, 504 void *req_cls,
505 const char *extra_in, 505 const char *extra_in,
506 size_t extra_in_size, 506 size_t extra_in_size,
507 MHD_socket fd, 507 MHD_socket fd,