From de3af4b5c0401d91e7a1510aa51f7fd747b4ec3b Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Wed, 5 Jan 2011 15:00:29 -0500 Subject: [PATCH] Add new member 'PushedDestination' to wcsession. This will be used soon. --- webcit/webcit.c | 1 + webcit/webcit.h | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/webcit/webcit.c b/webcit/webcit.c index 8f930f1cb..90f5a3d4a 100644 --- a/webcit/webcit.c +++ b/webcit/webcit.c @@ -957,5 +957,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 9900ddb02..b5af31e50 100644 --- a/webcit/webcit.h +++ b/webcit/webcit.h @@ -480,7 +480,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 */ @@ -488,6 +488,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 */ @@ -500,7 +501,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 */ -- 2.30.2