From: Art Cancro Date: Wed, 5 Jan 2011 20:00:29 +0000 (-0500) Subject: Add new member 'PushedDestination' to wcsession. This will be used soon. X-Git-Tag: v8.01~452 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=3839acb8f370502a1a48036e69dd705da423de3f Add new member 'PushedDestination' to wcsession. This will be used soon. --- diff --git a/webcit/webcit.c b/webcit/webcit.c index f533760a4..642565292 100644 --- a/webcit/webcit.c +++ b/webcit/webcit.c @@ -955,5 +955,6 @@ SessionDestroyModule_WEBCIT FreeStrBuf(&sess->WBuf); FreeStrBuf(&sess->HBuf); FreeStrBuf(&sess->ImportantMsg); + FreeStrBuf(&sess->PushedDestination); } diff --git a/webcit/webcit.h b/webcit/webcit.h index 4f587ed5c..f518dfc1e 100644 --- a/webcit/webcit.h +++ b/webcit/webcit.h @@ -476,7 +476,7 @@ struct wcsession { /* Session local Members */ int serv_sock; /* Client socket to Citadel server */ - StrBuf *ReadBuf; /* here we keep our stuff while reading linebuffered from the server. */ + StrBuf *ReadBuf; /* linebuffered reads from the server */ StrBuf *MigrateReadLineBuf; /* here we buffer legacy server read stuff */ const char *ReadPos; /* whats our read position in ReadBuf? */ int last_chat_seq; /* When in chat - last message seq# we saw */ @@ -484,6 +484,7 @@ struct wcsession { time_t last_pager_check; /* last time we polled for instant msgs */ ServInfo *serv_info; /* Information about the citserver we're connected to */ int is_ajax; /* are we doing an ajax request? */ + StrBuf *PushedDestination; /* Where to go after login, registration, etc. */ /* Request local Members */ StrBuf *CLineBuf; /* linebuffering client stuff */ @@ -496,7 +497,7 @@ struct wcsession { char ImportantMessage[SIZ]; StrBuf *ImportantMsg; HashList *Directory; /* Parts of the directory URL in snippets */ - const Floor *CurrentFloor; /**< when Parsing REST, which floor are we on? */ + const Floor *CurrentFloor; /* when Parsing REST, which floor are we on? */ /* accounting */ StrBuf *wc_username; /* login name of current user */