Add new member 'PushedDestination' to wcsession. This will be used soon.
authorArt Cancro <ajc@citadel.org>
Wed, 5 Jan 2011 20:00:29 +0000 (15:00 -0500)
committerWilfried Goesgens <dothebart@citadel.org>
Sun, 4 Sep 2011 13:41:15 +0000 (13:41 +0000)
webcit/webcit.c
webcit/webcit.h

index 8f930f1cbc8e66763b784e96e324b7a53cda806d..90f5a3d4a96ff4cd769d086552037efb6085e5e6 100644 (file)
@@ -957,5 +957,6 @@ SessionDestroyModule_WEBCIT
        FreeStrBuf(&sess->WBuf);
        FreeStrBuf(&sess->HBuf);
        FreeStrBuf(&sess->ImportantMsg);
+       FreeStrBuf(&sess->PushedDestination);
 }
 
index 9900ddb02d37f6a0fd9faafdc93843cf00ecbf55..b5af31e509469454c5189ea2b4d7c01a03e66bee 100644 (file)
@@ -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 */