aboutsummaryrefslogtreecommitdiff
path: root/doc/chapters/hellobrowser.inc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/chapters/hellobrowser.inc')
-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