aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-04-02 23:05:53 +0000
committerChristian Grothoff <christian@grothoff.org>2016-04-02 23:05:53 +0000
commit65f91e32933c86be0ab3d8283328088bb80e0e4c (patch)
treeea844218bfd80d179c46570230c737df4ff58c16
parent1e9240c3e02d8c15c04bccb3ce9d705bab58446d (diff)
downloadlibmicrohttpd-65f91e32933c86be0ab3d8283328088bb80e0e4c.tar.gz
libmicrohttpd-65f91e32933c86be0ab3d8283328088bb80e0e4c.zip
fix #4233
-rw-r--r--doc/chapters/hellobrowser.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/chapters/hellobrowser.inc b/doc/chapters/hellobrowser.inc
index 8ff81e4b..bcd259b3 100644
--- a/doc/chapters/hellobrowser.inc
+++ b/doc/chapters/hellobrowser.inc
@@ -108,11 +108,11 @@ producing the response for one connection, the other connections will be put on
108example, where the reply is already known and therefore the request is served quickly, this poses no problem. 108example, where the reply is already known and therefore the request is served quickly, this poses no problem.
109 109
110We will allow all clients to connect regardless of their name or location, therefore we do not check 110We will allow all clients to connect regardless of their name or location, therefore we do not check
111them on connection and set the forth and fifth parameter to NULL. 111them on connection and set the third and fourth parameter to NULL.
112 112
113Parameter six is the address of the function we want to be called whenever a new connection has been 113Parameter five is the address of the function we want to be called whenever a new connection has been
114established. Our @code{answer_to_connection} knows best what the client wants and needs no additional 114established. Our @code{answer_to_connection} knows best what the client wants and needs no additional
115information (which could be passed via the next parameter) so the next parameter is NULL. Likewise, 115information (which could be passed via the next parameter) so the next (sixth) parameter is NULL. Likewise,
116we do not need to pass extra options to the daemon so we just write the MHD_OPTION_END as the last parameter. 116we do not need to pass extra options to the daemon so we just write the MHD_OPTION_END as the last parameter.
117 117
118As the server daemon runs in the background in its own thread, the execution flow in our main 118As the server daemon runs in the background in its own thread, the execution flow in our main