[dovecot-cvs] dovecot/src/auth userdb-passwd.c,1.18.2.2,1.18.2.3

tss at dovecot.org tss at dovecot.org
Mon Feb 12 21:48:34 UTC 2007


Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv28589/src/auth

Modified Files:
      Tag: branch_1_0
	userdb-passwd.c 
Log Message:
Added blocking=yes setting to userdb passwd.



Index: userdb-passwd.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/userdb-passwd.c,v
retrieving revision 1.18.2.2
retrieving revision 1.18.2.3
diff -u -d -r1.18.2.2 -r1.18.2.3
--- userdb-passwd.c	16 Jan 2007 13:23:26 -0000	1.18.2.2
+++ userdb-passwd.c	12 Feb 2007 21:48:31 -0000	1.18.2.3
@@ -42,8 +42,10 @@
 }
 
 static void passwd_passwd_init(struct userdb_module *module,
-			       const char *args __attr_unused__)
+			       const char *args)
 {
+	if (strcmp(args, "blocking=yes") == 0)
+		module->blocking = TRUE;
 	module->cache_key = USER_CACHE_KEY;
 }
 



More information about the dovecot-cvs mailing list