diff src/imap/main.c @ 738:1b0205fc4153 HEAD

DEBUG: We shouldn't verify the fds when running in pre-auth mode (breaks with gdb).
author Timo Sirainen <tss@iki.fi>
date Sun, 01 Dec 2002 20:18:49 +0200
parents 8dd8ebe6bcac
children ad4292a30b1d
line wrap: on
line diff
--- a/src/imap/main.c	Sun Dec 01 20:17:53 2002 +0200
+++ b/src/imap/main.c	Sun Dec 01 20:18:49 2002 +0200
@@ -106,7 +106,8 @@
 int main(int argc, char *argv[])
 {
 #ifdef DEBUG
-        fd_debug_verify_leaks(3, 1024);
+	if (getenv("LOGIN_TAG") != NULL)
+		fd_debug_verify_leaks(3, 1024);
 #endif
 	/* NOTE: we start rooted, so keep the code minimal until
 	   restrict_access_by_env() is called */