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)
committerArt Cancro <ajc@citadel.org>
Wed, 5 Jan 2011 20:00:29 +0000 (15:00 -0500)
webcit/webcit.c
webcit/webcit.h

index f533760a4d7366348fd2ad7919ab9d53a3741266..642565292aaa14c4b0c6269daffe1bfbf226584e 100644 (file)
@@ -955,5 +955,6 @@ SessionDestroyModule_WEBCIT
        FreeStrBuf(&sess->WBuf);
        FreeStrBuf(&sess->HBuf);
        FreeStrBuf(&sess->ImportantMsg);
+       FreeStrBuf(&sess->PushedDestination);
 }
 
index 4f587ed5c89e045b1a2035944591e8f70d3c9778..f518dfc1e5c23ad4c6fbf6d6e945e2b965e8a160 100644 (file)
@@ -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 */