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 = "
\
\
";
-const char *greatingpage =
+const char *greetingpage =
"Welcome, %s!
";
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