]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
auth: Master passdbs weren't working.
authorTimo Sirainen <tss@iki.fi>
Mon, 8 Mar 2010 22:26:05 +0000 (00:26 +0200)
committerTimo Sirainen <tss@iki.fi>
Mon, 8 Mar 2010 22:26:05 +0000 (00:26 +0200)
--HG--
branch : HEAD

src/auth/auth.c

index 6915a12442109b55e5c837f6b55edd08ef334c6f..a0da771002c2c633192f8831b70175ebfa125c51 100644 (file)
@@ -55,7 +55,7 @@ struct auth *auth_preinit(struct auth_settings *set)
        if (passdb_count != 0 && passdbs[last_passdb]->pass)
                i_fatal("Last passdb can't have pass=yes");
 
-       for (passdb_count = 0, i = 0; i < db_count; i++) {
+       for (i = 0; i < db_count; i++) {
                if (!passdbs[i]->master)
                        continue;