aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-12-26 13:59:18 +0000
committerChristian Grothoff <christian@grothoff.org>2010-12-26 13:59:18 +0000
commit964326eb5348b5acf7d1cff7fb2f3c0d44ff4716 (patch)
treefc5f948728e88b4763ebd62fb3bc08c938349111
parent727317991143c239b0eaeb5850a60005db6b11f5 (diff)
downloadlibmicrohttpd-964326eb5348b5acf7d1cff7fb2f3c0d44ff4716.tar.gz
libmicrohttpd-964326eb5348b5acf7d1cff7fb2f3c0d44ff4716.zip
typo
-rw-r--r--doc/examples/simplepost.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/examples/simplepost.c b/doc/examples/simplepost.c
index 0aa93511..225f4122 100644
--- a/doc/examples/simplepost.c
+++ b/doc/examples/simplepost.c
@@ -25,7 +25,7 @@ const char *askpage = "<html><body>\
25 <input type=\"submit\" value=\" Send \"></form>\ 25 <input type=\"submit\" value=\" Send \"></form>\
26 </body></html>"; 26 </body></html>";
27 27
28const char *greatingpage = 28const char *greetingpage =
29 "<html><body><h1>Welcome, %s!</center></h1></body></html>"; 29 "<html><body><h1>Welcome, %s!</center></h1></body></html>";
30 30
31const char *errorpage = 31const char *errorpage =
@@ -69,7 +69,7 @@ iterate_post (void *coninfo_cls, enum MHD_ValueKind kind, const char *key,
69 if (!answerstring) 69 if (!answerstring)
70 return MHD_NO; 70 return MHD_NO;
71 71
72 snprintf (answerstring, MAXANSWERSIZE, greatingpage, data); 72 snprintf (answerstring, MAXANSWERSIZE, greetingpage, data);
73 con_info->answerstring = answerstring; 73 con_info->answerstring = answerstring;
74 } 74 }
75 else 75 else