From: Timo Sirainen Date: Mon, 8 Mar 2010 22:08:16 +0000 (+0200) Subject: Reversing accidentally committed debug code. X-Git-Tag: 2.0.beta4~98 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=18722dd1c05fdf3f47ec9dcd910bebbdb87684ac;p=thirdparty%2Fdovecot%2Fcore.git Reversing accidentally committed debug code. --HG-- branch : HEAD --- diff --git a/src/lib/failures.c b/src/lib/failures.c index e6bd9ac6e2..d2ac7de9d9 100644 --- a/src/lib/failures.c +++ b/src/lib/failures.c @@ -160,7 +160,6 @@ default_fatal_finish(enum log_type type, int status) i_error("Raw backtrace: %s", backtrace); } - sleep(3600*24); if (type == LOG_TYPE_PANIC) abort(); else @@ -598,8 +597,6 @@ i_internal_error_handler(enum log_type type, const char *fmt, va_list args) { if (internal_handler(type, fmt, args) < 0) failure_exit(FATAL_LOGERROR); - if (type == LOG_TYPE_ERROR) - sleep(3600*24); } void i_set_failure_internal(void) diff --git a/src/lib/mempool-alloconly.c b/src/lib/mempool-alloconly.c index bb66abf4ce..f725fa8697 100644 --- a/src/lib/mempool-alloconly.c +++ b/src/lib/mempool-alloconly.c @@ -244,8 +244,8 @@ static void block_alloc(struct alloconly_pool *apool, size_t size) stack, so make sure everything is allocated before calling it. */ t_buffer_alloc_last_full(); - /*i_warning("Growing pool '%s' with: %"PRIuSIZE_T, - apool->name, size);*/ + i_warning("Growing pool '%s' with: %"PRIuSIZE_T, + apool->name, size); } #endif }