diff options
-rw-r--r-- | cgi.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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(); } |