dovecot-2.0: Reversing accidentally committed debug code.

dovecot at dovecot.org dovecot at dovecot.org
Tue Mar 9 00:34:25 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/6d260794f278
changeset: 10870:6d260794f278
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Mar 09 00:08:16 2010 +0200
description:
Reversing accidentally committed debug code.

diffstat:

 src/lib/failures.c          |  3 ---
 src/lib/mempool-alloconly.c |  4 ++--
 2 files changed, 2 insertions(+), 5 deletions(-)

diffs (34 lines):

diff -r bf978f2de0fd -r 6d260794f278 src/lib/failures.c
--- a/src/lib/failures.c	Mon Mar 08 21:08:00 2010 +0200
+++ b/src/lib/failures.c	Tue Mar 09 00:08:16 2010 +0200
@@ -160,7 +160,6 @@
 			i_error("Raw backtrace: %s", backtrace);
 	}
 
-	sleep(3600*24);
 	if (type == LOG_TYPE_PANIC)
 		abort();
 	else
@@ -598,8 +597,6 @@
 {
 	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 -r bf978f2de0fd -r 6d260794f278 src/lib/mempool-alloconly.c
--- a/src/lib/mempool-alloconly.c	Mon Mar 08 21:08:00 2010 +0200
+++ b/src/lib/mempool-alloconly.c	Tue Mar 09 00:08:16 2010 +0200
@@ -244,8 +244,8 @@
 			   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
 	}


More information about the dovecot-cvs mailing list