[dovecot-cvs] dovecot/src/auth auth.c,1.29,1.30

cras at dovecot.org cras at dovecot.org
Fri Apr 7 10:23:06 EEST 2006


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

Modified Files:
	auth.c 
Log Message:
auth_verbose_debug_passwords=yes always sets now auth_verbose_debug=yes, and
auth_verbose_debug=yes also sets auth_verbose=yes.



Index: auth.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/auth.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- auth.c	27 Mar 2006 12:54:24 -0000	1.29
+++ auth.c	7 Apr 2006 07:23:04 -0000	1.30
@@ -26,10 +26,11 @@
 	auth = p_new(pool, struct auth, 1);
 	auth->pool = pool;
 
-	auth->verbose = getenv("VERBOSE") != NULL;
-	auth->verbose_debug = getenv("VERBOSE_DEBUG") != NULL;
 	auth->verbose_debug_passwords =
 		getenv("VERBOSE_DEBUG_PASSWORDS") != NULL;
+	auth->verbose_debug = getenv("VERBOSE_DEBUG") != NULL ||
+		auth->verbose_debug_passwords;
+	auth->verbose = getenv("VERBOSE") != NULL || auth->verbose_debug;
 
 	t_push();
 	passdb_p = &auth->passdbs;



More information about the dovecot-cvs mailing list