X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fmainmenu.c;h=ab3d2f38ab51ca6ebd484a74b41b52ffa924e335;hb=1f494963f66495189901c38c84cbc6d6b3e9f952;hp=1ce5e5ee60c7ee9985549667b20560634739d9cf;hpb=ee0a4e4dac7fdedf8a92d962061c6e97cef6c690;p=citadel.git
diff --git a/webcit/mainmenu.c b/webcit/mainmenu.c
index 1ce5e5ee6..ab3d2f38a 100644
--- a/webcit/mainmenu.c
+++ b/webcit/mainmenu.c
@@ -62,7 +62,7 @@ void display_generic(void)
wprintf("
\n");
wprintf("");
- wprintf(_("Detected host header is %s://%s"), (is_https ? "https" : "http"), ChrPtr(WC->http_host));
+ wprintf(_("Detected host header is %s://%s"), (is_https ? "https" : "http"), ChrPtr(WC->Hdr->http_host));
wprintf("\n");
wprintf("", _("Send command"));
wprintf(" ");
@@ -200,7 +200,7 @@ void display_shutdown(void)
output_headers(1, 0, 0, 0, 1, 0);
DoTemplate(HKEY("display_serverrestart"), NULL, &NoCtx);
end_burst();
- lingering_close(WC->http_sock);
+ lingering_close(WC->Hdr->http_sock);
sleeeeeeeeeep(10);
serv_printf("NOOP");
serv_printf("NOOP");