aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-04-23 16:16:58 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-04-23 16:16:58 +0300
commitec2d818cc4975bef2f6d0c6f36ffd5bcf9ea4443 (patch)
tree3fed826661bafb6b24344e441b5a04d60f4c07f5
parent28f02d2eaa30c08743d95565fe7404cba17b3955 (diff)
downloadlibmicrohttpd-ec2d818cc4975bef2f6d0c6f36ffd5bcf9ea4443.tar.gz
libmicrohttpd-ec2d818cc4975bef2f6d0c6f36ffd5bcf9ea4443.zip
doc/examples: improved formatting
-rw-r--r--doc/examples/simplepost.c12
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
36const char *askpage = 36const 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>"