dovecot-2.2-pigeonhole: lib-sieve: vacation extension: Fixed log...

pigeonhole at rename-it.nl pigeonhole at rename-it.nl
Mon May 5 15:10:11 UTC 2014


details:   http://hg.rename-it.nl/dovecot-2.2-pigeonhole/rev/d1d4454866ad
changeset: 1851:d1d4454866ad
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Mon May 05 17:09:10 2014 +0200
description:
lib-sieve: vacation extension: Fixed log message for discarded response.
Presence of :addresses argument was represented incorrectly.

diffstat:

 src/lib-sieve/plugins/vacation/cmd-vacation.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 378362cb36a6 -r d1d4454866ad src/lib-sieve/plugins/vacation/cmd-vacation.c
--- a/src/lib-sieve/plugins/vacation/cmd-vacation.c	Thu May 01 00:07:27 2014 +0200
+++ b/src/lib-sieve/plugins/vacation/cmd-vacation.c	Mon May 05 17:09:10 2014 +0200
@@ -1223,7 +1223,7 @@
 				"no known (envelope) recipient address found in message headers "
 				"(recipient=<%s>, %sand%s additional `:addresses' are specified)",
 				str_sanitize(recipient, 128), original_recipient,
-				(ctx->addresses == NULL ? " no" : ""));
+				(ctx->addresses == NULL || *ctx->addresses == NULL ? " no" : ""));
 
 			return SIEVE_EXEC_OK;
 		}


More information about the dovecot-cvs mailing list