[dovecot-cvs] dovecot/src/auth passdb-checkpassword.c,1.23,1.24
cras at dovecot.org
cras at dovecot.org
Thu Aug 17 22:48:27 EEST 2006
Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv15914
Modified Files:
passdb-checkpassword.c
Log Message:
Crashfix
Index: passdb-checkpassword.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/passdb-checkpassword.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- passdb-checkpassword.c 11 Aug 2006 15:09:38 -0000 1.23
+++ passdb-checkpassword.c 17 Aug 2006 19:48:25 -0000 1.24
@@ -389,14 +389,13 @@
module->clients =
hash_create(default_pool, default_pool, 0, NULL, NULL);
- lib_signals_set_handler(SIGCHLD, TRUE, sigchld_handler, module);
return &module->module;
}
-static void checkpassword_init(struct passdb_module *_module __attr_unused__,
+static void checkpassword_init(struct passdb_module *module,
const char *args __attr_unused__)
{
- lib_signals_set_handler(SIGCHLD, TRUE, sigchld_handler, NULL);
+ lib_signals_set_handler(SIGCHLD, TRUE, sigchld_handler, module);
}
static void checkpassword_deinit(struct passdb_module *_module)
More information about the dovecot-cvs
mailing list