dovecot-2.2: director: Already seen USER-WEAK command caused dir...

dovecot at dovecot.org dovecot at dovecot.org
Wed Sep 26 18:01:29 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/24e791bbcf69
changeset: 15131:24e791bbcf69
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Sep 12 00:04:34 2012 +0300
description:
director: Already seen USER-WEAK command caused director to disconnect.

diffstat:

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

diffs (12 lines):

diff -r 245fe7fd6f00 -r 24e791bbcf69 src/director/director-connection.c
--- a/src/director/director-connection.c	Tue Sep 11 20:45:38 2012 +0300
+++ b/src/director/director-connection.c	Wed Sep 12 00:04:34 2012 +0300
@@ -712,7 +712,7 @@
 	int ret;
 
 	if ((ret = director_cmd_is_seen(conn, &args, &dir_host)) != 0)
-		return FALSE;
+		return ret > 0;
 
 	if (str_array_length(args) != 2 ||
 	    str_to_uint(args[0], &username_hash) < 0 ||


More information about the dovecot-cvs mailing list