commit 964326eb5348b5acf7d1cff7fb2f3c0d44ff4716
parent 727317991143c239b0eaeb5850a60005db6b11f5
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 26 Dec 2010 13:59:18 +0000
typo
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/examples/simplepost.c b/doc/examples/simplepost.c
@@ -25,7 +25,7 @@ const char *askpage = "<html><body>\
<input type=\"submit\" value=\" Send \"></form>\
</body></html>";
-const char *greatingpage =
+const char *greetingpage =
"<html><body><h1>Welcome, %s!</center></h1></body></html>";
const char *errorpage =
@@ -69,7 +69,7 @@ iterate_post (void *coninfo_cls, enum MHD_ValueKind kind, const char *key,
if (!answerstring)
return MHD_NO;
- snprintf (answerstring, MAXANSWERSIZE, greatingpage, data);
+ snprintf (answerstring, MAXANSWERSIZE, greetingpage, data);
con_info->answerstring = answerstring;
}
else