projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
No more cleanup hooks. The OS can reclaim memory better than we can. We want to...
[citadel.git]
/
citadel
/
modules
/
nntp
/
serv_nntp.c
diff --git
a/citadel/modules/nntp/serv_nntp.c
b/citadel/modules/nntp/serv_nntp.c
index 93f65da0a57a3d4582e7d36ed63adde968467669..ef923bb6298733202a43fcc818f47c619883c13b 100644
(file)
--- a/
citadel/modules/nntp/serv_nntp.c
+++ b/
citadel/modules/nntp/serv_nntp.c
@@
-264,15
+264,6
@@
void nntp_quit(void)
}
}
-//
-// Cleanup hook for this module
-//
-void nntp_cleanup(void)
-{
- /* nothing here yet */
-}
-
-
//
// Implements the AUTHINFO USER command (RFC 4643)
//
//
// Implements the AUTHINFO USER command (RFC 4643)
//
@@
-1194,7
+1185,6
@@
CTDL_MODULE_INIT(nntp)
CitadelServiceNNTPS);
#endif
CitadelServiceNNTPS);
#endif
- CtdlRegisterCleanupHook(nntp_cleanup);
CtdlRegisterSessionHook(nntp_cleanup_function, EVT_STOP, PRIO_STOP + 250);
}
CtdlRegisterSessionHook(nntp_cleanup_function, EVT_STOP, PRIO_STOP + 250);
}