X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fmainmenu.c;h=543a86ce186e1606e6192fee22fbe82849d8c3d1;hb=5df6130d8bd12e440131268635390f01ecbb063f;hp=d35460da9b037757a5a08c2b5138ebd4fa7efcfd;hpb=553f7fa36b751286e540f858599c999c61a2e8b6;p=citadel.git
diff --git a/webcit/mainmenu.c b/webcit/mainmenu.c
index d35460da9..543a86ce1 100644
--- a/webcit/mainmenu.c
+++ b/webcit/mainmenu.c
@@ -314,14 +314,13 @@ void do_generic(void)
/*
- * Display the menubar. Set as_single_page to 1 if we're inside a frameset
- * and need to display HTML headers and footers -- otherwise it's assumed
+ * Display the menubar. Set as_single_page to
+ * display HTML headers and footers -- otherwise it's assumed
* that the menubar is being embedded in another page.
*/
void display_menubar(int as_single_page) {
FILE *menubar_body;
char buf[256];
- int i;
if (as_single_page) {
printf("HTTP/1.0 200 OK\n");
@@ -343,12 +342,6 @@ void display_menubar(int as_single_page) {
wprintf("menubar
%s", strerror(errno));
} else {
while (fgets(buf, sizeof(buf), menubar_body) != NULL) {
- /* Sleazy hack to disable TARGET= directive */
- if (noframes) for (i=0; i