dovecot-2.2-pigeonhole: lib-sieve: added debug message showing P...

pigeonhole at rename-it.nl pigeonhole at rename-it.nl
Sun Mar 3 00:27:27 EET 2013


details:   http://hg.rename-it.nl/dovecot-2.2-pigeonhole/rev/44721c50833e
changeset: 1713:44721c50833e
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Sat Mar 02 23:27:13 2013 +0100
description:
lib-sieve: added debug message showing Pigeonhole version at initialization.
Very useful to show that debugging is enabled and what version of pigeonhole is actually running.

diffstat:

 src/lib-sieve/sieve.c |  5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diffs (15 lines):

diff -r 99eec511aa2c -r 44721c50833e src/lib-sieve/sieve.c
--- a/src/lib-sieve/sieve.c	Mon Jan 14 12:57:58 2013 +0100
+++ b/src/lib-sieve/sieve.c	Sat Mar 02 23:27:13 2013 +0100
@@ -66,6 +66,11 @@
 
 	sieve_errors_init(svinst);
 
+	if ( debug ) {
+		sieve_sys_debug(svinst, "%s version %s initializing",
+			PIGEONHOLE_NAME, PIGEONHOLE_VERSION);
+	}
+
 	/* Read limits from configuration */
 
 	svinst->max_script_size = SIEVE_DEFAULT_MAX_SCRIPT_SIZE;


More information about the dovecot-cvs mailing list