From: Timo Sirainen Date: Tue, 4 May 2010 10:57:26 +0000 (+0300) Subject: bsdauth: Crashfix X-Git-Tag: 2.0.beta5~16 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f516f9d6bf1e87c12e3cb009862ca69b1c2b494b;p=thirdparty%2Fdovecot%2Fcore.git bsdauth: Crashfix --HG-- branch : HEAD --- diff --git a/src/auth/passdb-bsdauth.c b/src/auth/passdb-bsdauth.c index 20aa6efa9c..04b355bf21 100644 --- a/src/auth/passdb-bsdauth.c +++ b/src/auth/passdb-bsdauth.c @@ -57,7 +57,7 @@ bsdauth_preinit(pool_t pool, const char *args) module->default_pass_scheme = "PLAIN"; /* same reason as PAM */ module->blocking = TRUE; - if (strcmp(module->args, "blocking=no") == 0) + if (strcmp(args, "blocking=no") == 0) module->blocking = FALSE; else if (strncmp(args, "cache_key=", 10) == 0) module->cache_key = auth_cache_parse_key(pool, args + 10);