diff options
Diffstat (limited to 'doc/examples/simplepost.c')
-rw-r--r-- | doc/examples/simplepost.c | 4 |
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 | ||
28 | const char *greatingpage = | 28 | const char *greetingpage = |
29 | "<html><body><h1>Welcome, %s!</center></h1></body></html>"; | 29 | "<html><body><h1>Welcome, %s!</center></h1></body></html>"; |
30 | 30 | ||
31 | const char *errorpage = | 31 | const 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 |