dovecot-2.0: liblib: Don't try to send a log prefix to log proce...

dovecot at dovecot.org dovecot at dovecot.org
Thu Jun 30 07:26:11 EEST 2011


details:   http://hg.dovecot.org/dovecot-2.0/rev/ed0688858e59
changeset: 12862:ed0688858e59
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Jun 30 07:26:01 2011 +0300
description:
liblib: Don't try to send a log prefix to log process if there is none.

diffstat:

 src/lib/failures.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 02d97fb66047 -r ed0688858e59 src/lib/failures.c
--- a/src/lib/failures.c	Tue Jun 28 03:59:26 2011 +0300
+++ b/src/lib/failures.c	Thu Jun 30 07:26:01 2011 +0300
@@ -565,7 +565,7 @@
 		string_t *str;
 		unsigned int prefix_len;
 
-		if (!log_prefix_sent) {
+		if (!log_prefix_sent && log_prefix != NULL) {
 			log_prefix_sent = TRUE;
 			i_failure_send_option("prefix", log_prefix);
 		}


More information about the dovecot-cvs mailing list