]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
bsdauth: Crashfix
authorTimo Sirainen <tss@iki.fi>
Tue, 4 May 2010 10:57:26 +0000 (13:57 +0300)
committerTimo Sirainen <tss@iki.fi>
Tue, 4 May 2010 10:57:26 +0000 (13:57 +0300)
--HG--
branch : HEAD

src/auth/passdb-bsdauth.c

index 20aa6efa9ccb90eb3ec78f71de80c0abef8893f0..04b355bf216d9efc3781ce5152a214c97855cfc9 100644 (file)
@@ -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);