Mercurial > dovecot > core-2.2
changeset 11587:47c1329e4e65 HEAD
director: Debug logging crashfix.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 18 Jun 2010 20:07:20 +0100 |
parents | e75dab14bb2f |
children | 9a852084bbeb |
files | src/director/director.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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(