]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
The previous gdb check should be done only with --enable-debug.
authorTimo Sirainen <tss@iki.fi>
Sun, 4 May 2008 11:35:51 +0000 (14:35 +0300)
committerTimo Sirainen <tss@iki.fi>
Sun, 4 May 2008 11:35:51 +0000 (14:35 +0300)
--HG--
branch : HEAD

src/master/login-process.c

index 53d2992da554f46600ca6e336416574e74e5c2e9..49607f57aebcacfa9fc5fb8caa576ef57f9df6e1 100644 (file)
@@ -689,7 +689,9 @@ static pid_t create_login_process(struct login_group *group)
        fd_limit = 16 + listen_count + ssl_listen_count +
                2 * (group->set->login_process_per_connection ? 1 :
                     group->set->login_max_connections);
+#ifdef DEBUG
        if (!gdb)
+#endif
                restrict_fd_limit(fd_limit);
 
        /* make sure we don't leak syslog fd, but do it last so that