[dovecot-cvs] dovecot/src/imap main.c,1.22,1.23

cras at procontrol.fi cras at procontrol.fi
Sat Feb 1 12:16:36 EET 2003


Update of /home/cvs/dovecot/src/imap
In directory danu:/tmp/cvs-serv31828

Modified Files:
	main.c 
Log Message:
wrong debug check



Index: main.c
===================================================================
RCS file: /home/cvs/dovecot/src/imap/main.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- main.c	30 Jan 2003 17:59:32 -0000	1.22
+++ main.c	1 Feb 2003 10:16:34 -0000	1.23
@@ -123,10 +123,10 @@
 int main(int argc __attr_unused__, char *argv[], char *envp[])
 {
 #ifdef DEBUG
-	if (getenv("LOGGED_IN") != NULL) {
+	if (getenv("LOGGED_IN") != NULL)
 		fd_debug_verify_leaks(3, 1024);
+	else
 		putenv("DISABLE_ALARMHUP=1"); /* annoying when debugging */
-	}
 #endif
 	/* NOTE: we start rooted, so keep the code minimal until
 	   restrict_access_by_env() is called */




More information about the dovecot-cvs mailing list