From: Art Cancro Date: Fri, 16 Aug 2002 03:51:12 +0000 (+0000) Subject: * I think I've finally nailed the 'no session' pages now... X-Git-Tag: v7.86~6294 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=e9a14bd8d25758717edfc8182fd03305f76b377c * I think I've finally nailed the 'no session' pages now... --- diff --git a/webcit/ChangeLog b/webcit/ChangeLog index b779ed599..2593dc1ec 100644 --- a/webcit/ChangeLog +++ b/webcit/ChangeLog @@ -1,4 +1,7 @@ $Log$ +Revision 323.58 2002/08/16 03:51:12 ajc +* I think I've finally nailed the 'no session' pages now... + Revision 323.57 2002/08/15 03:49:47 ajc * Fleshed out the list subscription page a bit @@ -897,4 +900,3 @@ Sun Dec 6 19:50:55 EST 1998 Art Cancro 1998-12-03 Nathan Bryant * webserver.c: warning fix - diff --git a/webcit/context_loop.c b/webcit/context_loop.c index ec920745f..6cad89f9b 100644 --- a/webcit/context_loop.c +++ b/webcit/context_loop.c @@ -63,6 +63,8 @@ void do_housekeeping(void) /* Remove sessions flagged for kill */ if (sptr->killthis) { + lprintf(3, "Destroying session\n"); + /* remove session from linked list */ if (sptr == SessionList) { SessionList = SessionList->next; diff --git a/webcit/listsub.c b/webcit/listsub.c index f26625ddb..c58a7bad1 100644 --- a/webcit/listsub.c +++ b/webcit/listsub.c @@ -38,7 +38,7 @@ void do_listsub(void) strcpy(WC->wc_password, ""); strcpy(WC->wc_roomname, ""); - output_headers(2); /* note "2" causes cookies to be unset */ + wprintf("List subscription\n"); strcpy(cmd, bstr("cmd")); strcpy(room, bstr("room")); @@ -81,7 +81,8 @@ void do_listsub(void) ); } else { - wprintf("ERROR: %s

\n", + wprintf("ERROR: %s" + "

\n", &buf[4]); goto FORM; } @@ -131,6 +132,7 @@ FORM: wprintf("
\n" * Since this isn't part of a normal Citadel session, we bail right * out without maintaining any state. */ - wDumpContent(2); + /* wDumpContent(2); */ + wprintf("\n"); end_webcit_session(); }