aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cgi.c
diff options
context:
space:
mode:
Diffstat (limited to 'cgi.c')
-rw-r--r--cgi.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/cgi.c b/cgi.c
index 1eb73ff0..bdf303dc 100644
--- a/cgi.c
+++ b/cgi.c
@@ -1,4 +1,4 @@
-/* $Id: cgi.c,v 1.15 2011/12/07 16:08:55 kristaps Exp $ */
+/* $Id: cgi.c,v 1.16 2011/12/07 16:18:52 kristaps Exp $ */
/*
* Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -341,6 +341,7 @@ resp_searchform(const struct req *req)
html_print(progname);
printf("/search.html\" METHOD=\"get\">\n");
printf("<FIELDSET>\n"
+ "<LEGEND>Search Parameters</LEGEND>\n"
"<INPUT TYPE=\"submit\" NAME=\"op\" "
"VALUE=\"Whatis\"> or \n"
"<INPUT TYPE=\"submit\" NAME=\"op\" "
@@ -468,6 +469,8 @@ resp_search(struct res *r, size_t sz, void *arg)
puts("</TD></TR>");
}
+ puts("</TABLE>");
+
resp_end_html();
}