diff options
Diffstat (limited to 'doc/examples')
-rw-r--r-- | doc/examples/responseheaders.c | 2 | ||||
-rw-r--r-- | doc/examples/sessions.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/examples/responseheaders.c b/doc/examples/responseheaders.c index 5c0580b6..f1cf939c 100644 --- a/doc/examples/responseheaders.c +++ b/doc/examples/responseheaders.c | |||
@@ -43,7 +43,7 @@ answer_to_connection (void *cls, struct MHD_Connection *connection, | |||
43 | (0 != fstat (fd, &sbuf)) ) | 43 | (0 != fstat (fd, &sbuf)) ) |
44 | { | 44 | { |
45 | const char *errorstr = | 45 | const char *errorstr = |
46 | "<html><body>An internal server error has occured!\ | 46 | "<html><body>An internal server error has occurred!\ |
47 | </body></html>"; | 47 | </body></html>"; |
48 | /* error accessing file */ | 48 | /* error accessing file */ |
49 | if (fd != -1) | 49 | if (fd != -1) |
diff --git a/doc/examples/sessions.c b/doc/examples/sessions.c index adabc610..6d6cf5ba 100644 --- a/doc/examples/sessions.c +++ b/doc/examples/sessions.c | |||
@@ -557,7 +557,7 @@ post_iterator (void *cls, | |||
557 | * can be set with the MHD_OPTION_NOTIFY_COMPLETED). | 557 | * can be set with the MHD_OPTION_NOTIFY_COMPLETED). |
558 | * Initially, <tt>*con_cls</tt> will be NULL. | 558 | * Initially, <tt>*con_cls</tt> will be NULL. |
559 | * @return MHS_YES if the connection was handled successfully, | 559 | * @return MHS_YES if the connection was handled successfully, |
560 | * MHS_NO if the socket must be closed due to a serios | 560 | * MHS_NO if the socket must be closed due to a serious |
561 | * error while handling the request | 561 | * error while handling the request |
562 | */ | 562 | */ |
563 | static enum MHD_Result | 563 | static enum MHD_Result |