dovecot-2.2: director: Minor code cleanup

dovecot at dovecot.org dovecot at dovecot.org
Mon Oct 29 17:55:55 EET 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/1dcf0090648e
changeset: 15324:1dcf0090648e
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Oct 22 15:30:01 2012 +0300
description:
director: Minor code cleanup

diffstat:

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

diffs (12 lines):

diff -r 7352d48b4071 -r 1dcf0090648e src/director/director-connection.c
--- a/src/director/director-connection.c	Mon Oct 22 15:29:27 2012 +0300
+++ b/src/director/director-connection.c	Mon Oct 22 15:30:01 2012 +0300
@@ -728,7 +728,7 @@
 	/* note that unlike other commands we don't want to just ignore
 	   duplicate commands */
 	if ((ret = director_cmd_is_seen(conn, &args, &dir_host)) < 0)
-		return ret > 0;
+		return FALSE;
 
 	if (str_array_length(args) != 2 ||
 	    str_to_uint(args[0], &username_hash) < 0 ||


More information about the dovecot-cvs mailing list