]> code.citadel.org Git - citadel.git/blobdiff - webcit/siteconfig.c
* wDumpContent() is now responsible for </BODY></HTML> most of the
[citadel.git] / webcit / siteconfig.c
index 41c9261986374edc91eaf5f858055a8fc7a922f9..ce582e2c9756aa57f389c8ffacc03432a53e1ea1 100644 (file)
@@ -26,7 +26,7 @@ void display_siteconfig(void) {
        }
 
        printf("HTTP/1.0 200 OK\n");
-       output_headers(1);
+       output_headers(1, "bottom");
 
         wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=007700><TR><TD>");
         wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"<B>Site configuration");
@@ -120,8 +120,8 @@ void display_siteconfig(void) {
        wprintf("</TABLE><CENTER>");
        wprintf("<INPUT TYPE=\"submit\" NAME=\"sc\" VALUE=\"OK\">");
        wprintf("<INPUT TYPE=\"submit\" NAME=\"sc\" VALUE=\"Cancel\">\n");
-       wprintf("</CENTER></FORM></BODY></HTML>\n");
-       wDumpContent();
+       wprintf("</CENTER></FORM>\n");
+       wDumpContent(1);
 }