aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2020-06-21 21:27:46 +0000
committerAleksey Veresov <aleksey@veresov.pro>2020-06-21 21:27:46 +0000
commit4570daec42c1e38c2df88facc23743f45f907b3d (patch)
tree3ebfe39d2764d79506cf86359d5ac36b89b01352 /examples
parent07657b8a9f5c2fd9047594ec8604b9c439a999e4 (diff)
downloadmagi-4570daec42c1e38c2df88facc23743f45f907b3d.tar
magi-4570daec42c1e38c2df88facc23743f45f907b3d.tar.xz
magi-4570daec42c1e38c2df88facc23743f45f907b3d.zip
Documentation started.
Diffstat (limited to 'examples')
-rw-r--r--examples/append.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/append.c b/examples/append.c
index fe85492..f1b8f96 100644
--- a/examples/append.c
+++ b/examples/append.c
@@ -1,5 +1,5 @@
/* This is the very basic example, showing work with form fields to append
- * specified by user in form addon into some file (i.e. "file_to_append").
+ * addon specified by user in form into some file (i.e. "file_to_append").
*/
#include <magi.h>
#include <stdio.h>
@@ -26,7 +26,7 @@ void response(magi_request *r)
"<body>");
append(r);
printf("<form action='/cgi-bin/append' method='post'><fieldset>"
- "<input type='text' name='addon' value='Whatever you want to add.' />"
+ "<input type='text' name='addon' value='Enter your addon.' />"
"<input type='submit' value='Append' />"
"</fieldset></form>"
"</body></html>");