From: Timo Sirainen Date: Sun, 4 May 2008 11:35:51 +0000 (+0300) Subject: The previous gdb check should be done only with --enable-debug. X-Git-Tag: 1.1.rc5~24 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=70abed141a0e588063bb38165c0a8a8fb963cad3;p=thirdparty%2Fdovecot%2Fcore.git The previous gdb check should be done only with --enable-debug. --HG-- branch : HEAD --- diff --git a/src/master/login-process.c b/src/master/login-process.c index 53d2992da5..49607f57ae 100644 --- a/src/master/login-process.c +++ b/src/master/login-process.c @@ -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