From ee9bb69f41a55fdc8a6b59396bb878b9bd20f5b7 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Thu, 15 Mar 2012 17:34:27 -0400 Subject: [PATCH] Upgraded the convenience_page() function to the new room_banner_override framework as a test. Really this function ought to be eliminated. --- webcit/webcit.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/webcit/webcit.c b/webcit/webcit.c index 224a9d220..a42f5ae83 100644 --- a/webcit/webcit.c +++ b/webcit/webcit.c @@ -257,14 +257,13 @@ void http_transmit_thing(const char *content_type, int is_static) void convenience_page(const char *titlebarcolor, const char *titlebarmsg, const char *messagetext) { hprintf("HTTP/1.1 200 OK\n"); - output_headers(1, 1, 2, 0, 0, 0); - wc_printf("
\n"); + output_headers(1, 1, 1, 0, 0, 0); + wc_printf("
\n"); wc_printf("
", titlebarcolor); wc_printf("%s\n", titlebarmsg); wc_printf("
\n"); wc_printf("
\n
\n"); escputs(messagetext); - wc_printf("
\n"); wDumpContent(1); } -- 2.30.2