]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
director: Minor code cleanup
authorTimo Sirainen <tss@iki.fi>
Mon, 22 Oct 2012 12:30:01 +0000 (15:30 +0300)
committerTimo Sirainen <tss@iki.fi>
Mon, 22 Oct 2012 12:30:01 +0000 (15:30 +0300)
src/director/director-connection.c

index 45213551f5ebf0095c34126189fbce20f26d4e6d..622843016230ff62d03302e7dc4f7edb0dc24506 100644 (file)
@@ -728,7 +728,7 @@ director_cmd_user_weak(struct director_connection *conn,
        /* 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 ||