dovecot-2.0: director: Debug logging crashfix.

dovecot at dovecot.org dovecot at dovecot.org
Fri Jun 18 22:07:23 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/47c1329e4e65
changeset: 11587:47c1329e4e65
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Jun 18 20:07:20 2010 +0100
description:
director: Debug logging crashfix.

diffstat:

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

diffs (13 lines):

diff -r e75dab14bb2f -r 47c1329e4e65 src/director/director.c
--- a/src/director/director.c	Fri Jun 18 20:00:24 2010 +0100
+++ b/src/director/director.c	Fri Jun 18 20:07:20 2010 +0100
@@ -149,7 +149,8 @@
 
 	if (dir->debug) {
 		i_debug("Ring is desynced (seq=%u, sending SYNC to %s)",
-			dir->sync_seq, director_connection_get_name(dir->right));
+			dir->sync_seq, dir->right == NULL ? "(nowhere)" :
+			director_connection_get_name(dir->right));
 	}
 
 	director_connection_send(dir->right, t_strdup_printf(


More information about the dovecot-cvs mailing list