diff options
Diffstat (limited to 'doc/examples/simplepost.c')
-rw-r--r-- | doc/examples/simplepost.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/examples/simplepost.c b/doc/examples/simplepost.c index 52146ce3..80a948fe 100644 --- a/doc/examples/simplepost.c +++ b/doc/examples/simplepost.c | |||
@@ -34,12 +34,12 @@ struct connection_info_struct | |||
34 | }; | 34 | }; |
35 | 35 | ||
36 | const char *askpage = | 36 | const char *askpage = |
37 | "<html><body>\ | 37 | "<html><body>\n" |
38 | What's your name, Sir?<br>\ | 38 | "What's your name, Sir?<br>\n" |
39 | <form action=\"/namepost\" method=\"post\">\ | 39 | "<form action=\"/namepost\" method=\"post\">\n" |
40 | <input name=\"name\" type=\"text\">\ | 40 | "<input name=\"name\" type=\"text\">\n" |
41 | <input type=\"submit\" value=\" Send \"></form>\ | 41 | "<input type=\"submit\" value=\" Send \"></form>\n" |
42 | </body></html>"; | 42 | "</body></html>"; |
43 | 43 | ||
44 | #define GREETINGPAGE \ | 44 | #define GREETINGPAGE \ |
45 | "<html><body><h1>Welcome, %s!</center></h1></body></html>" | 45 | "<html><body><h1>Welcome, %s!</center></h1></body></html>" |