projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Hunting a bug in scheduled threads that caused a segflt. Got it and
[citadel.git]
/
citadel
/
modules
/
expire
/
serv_expire.c
diff --git
a/citadel/modules/expire/serv_expire.c
b/citadel/modules/expire/serv_expire.c
index e807f969bf34cad0c9d80b3da73a3b94b7c9da7b..df65a8dcada2cc9b29d114244f836879607ababc 100644
(file)
--- a/
citadel/modules/expire/serv_expire.c
+++ b/
citadel/modules/expire/serv_expire.c
@@
-720,8
+720,6
@@
void *purge_databases(void *args)
time_t now;
struct tm tm;
- CtdlThreadAllocTSD();
-
while (!CtdlThreadCheckStop()) {
/* Do the auto-purge if the current hour equals the purge hour,
* but not if the operation has already been performed in the