dovecot-2.0: doveadm: Fixed authentication with remote doveadm s...

dovecot at dovecot.org dovecot at dovecot.org
Mon Aug 29 07:03:49 EEST 2011


details:   http://hg.dovecot.org/dovecot-2.0/rev/c7dccec3eaa4
changeset: 12891:c7dccec3eaa4
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Aug 29 07:03:26 2011 +0300
description:
doveadm: Fixed authentication with remote doveadm server.

diffstat:

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

diffs (12 lines):

diff -r 00f9dd706a90 -r c7dccec3eaa4 src/doveadm/server-connection.c
--- a/src/doveadm/server-connection.c	Mon Aug 29 06:18:26 2011 +0300
+++ b/src/doveadm/server-connection.c	Mon Aug 29 07:03:26 2011 +0300
@@ -214,7 +214,7 @@
 		return;
 
 	if (!conn->authenticated) {
-		if ((line = i_stream_next_line(conn->input)) != NULL)
+		if ((line = i_stream_next_line(conn->input)) == NULL)
 			return;
 		if (strcmp(line, "+") == 0)
 			conn->authenticated = TRUE;


More information about the dovecot-cvs mailing list