projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d48229a
)
Add new member 'PushedDestination' to wcsession. This will be used soon.
author
Art Cancro
<ajc@citadel.org>
Wed, 5 Jan 2011 20:00:29 +0000
(15:00 -0500)
committer
Art Cancro
<ajc@citadel.org>
Wed, 5 Jan 2011 20:00:29 +0000
(15:00 -0500)
webcit/webcit.c
patch
|
blob
|
history
webcit/webcit.h
patch
|
blob
|
history
diff --git
a/webcit/webcit.c
b/webcit/webcit.c
index f533760a4d7366348fd2ad7919ab9d53a3741266..642565292aaa14c4b0c6269daffe1bfbf226584e 100644
(file)
--- 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->WBuf);
FreeStrBuf(&sess->HBuf);
FreeStrBuf(&sess->ImportantMsg);
+ FreeStrBuf(&sess->PushedDestination);
}
}
diff --git
a/webcit/webcit.h
b/webcit/webcit.h
index 4f587ed5c89e045b1a2035944591e8f70d3c9778..f518dfc1e5c23ad4c6fbf6d6e945e2b965e8a160 100644
(file)
--- 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 */
/* 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 */
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? */
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 */
/* 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 */
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 */
/* accounting */
StrBuf *wc_username; /* login name of current user */