]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
doveadm auth: Fix to previous change, it broke auth completely.
authorTimo Sirainen <tss@iki.fi>
Wed, 26 May 2010 18:19:20 +0000 (19:19 +0100)
committerTimo Sirainen <tss@iki.fi>
Wed, 26 May 2010 18:19:20 +0000 (19:19 +0100)
--HG--
branch : HEAD

src/doveadm/doveadm-auth.c

index f50aecd6a7a3123c1d487362c395f03ab6deee3d..185ebba612d5b3d1d91d13e30758ddd43d36e372 100644 (file)
@@ -137,7 +137,7 @@ cmd_auth_input(const char *auth_socket_path, struct authtest_input *input)
        client = auth_client_init(auth_socket_path, getpid(), FALSE);
        auth_client_set_connect_notify(client, auth_connected, input);
 
-       if (auth_client_is_connected(client))
+       if (!auth_client_is_disconnected(client))
                io_loop_run(current_ioloop);
 
        auth_client_set_connect_notify(client, NULL, NULL);