projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
IGnet sharing is working properly with the configdb now.
[citadel.git]
/
citadel
/
modules
/
listsub
/
serv_listsub.c
diff --git
a/citadel/modules/listsub/serv_listsub.c
b/citadel/modules/listsub/serv_listsub.c
index ae41d1746f8b3a639b5564ac1a51dc53273f7d47..c719615fbc986ce021751ed04785e3cd8ee66907 100644
(file)
--- a/
citadel/modules/listsub/serv_listsub.c
+++ b/
citadel/modules/listsub/serv_listsub.c
@@
-63,9
+63,7
@@
void listsub_generate_token(char *buf) {
* tinfoil-hat secure, it just needs to be reasonably unguessable
* and unique.
*/
* tinfoil-hat secure, it just needs to be reasonably unguessable
* and unique.
*/
- len = sprintf(sourcebuf, "%lx",
- (long) (++seq + getpid() + time(NULL))
- );
+ len = sprintf(sourcebuf, "%lx", (long) (++seq + getpid() + time(NULL)));
/* Convert it to base64 so it looks cool */
len = CtdlEncodeBase64(buf, sourcebuf, len, 0);
/* Convert it to base64 so it looks cool */
len = CtdlEncodeBase64(buf, sourcebuf, len, 0);
@@
-74,6
+72,7
@@
void listsub_generate_token(char *buf) {
}
}
}
}
+
const RoomNetCfg ActiveSubscribers[] = {listrecp, digestrecp};
int CountThisSubscriber(OneRoomNetCfg *OneRNCfg, StrBuf *email)
const RoomNetCfg ActiveSubscribers[] = {listrecp, digestrecp};
int CountThisSubscriber(OneRoomNetCfg *OneRNCfg, StrBuf *email)