dovecot-2.1: director: Fix to handling duplicate USER-WEAK event.

dovecot at dovecot.org dovecot at dovecot.org
Sun Jun 24 03:19:30 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.1/rev/7be9411da17b
changeset: 14573:7be9411da17b
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Jun 24 03:19:17 2012 +0300
description:
director: Fix to handling duplicate USER-WEAK event.

diffstat:

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

diffs (12 lines):

diff -r bb1de2a1d866 -r 7be9411da17b src/director/director-connection.c
--- a/src/director/director-connection.c	Sun Jun 24 03:02:11 2012 +0300
+++ b/src/director/director-connection.c	Sun Jun 24 03:19:17 2012 +0300
@@ -711,7 +711,7 @@
 	bool weak = TRUE;
 	int ret;
 
-	if ((ret = director_cmd_is_seen(conn, &args, &dir_host)) < 0)
+	if ((ret = director_cmd_is_seen(conn, &args, &dir_host)) != 0)
 		return FALSE;
 
 	if (str_array_length(args) != 2 ||


More information about the dovecot-cvs mailing list