[dovecot-cvs] dovecot/src/auth userdb-passwd.c,1.20,1.21

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


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

Modified Files:
	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.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- userdb-passwd.c	21 Dec 2006 16:01:15 -0000	1.20
+++ userdb-passwd.c	12 Feb 2007 21:48:37 -0000	1.21
@@ -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