Hey,

Of course there was a mistake in it :(

diff --git a/src/drv_imap.c b/src/drv_imap.c
index 58fc9d3..991ca1f 100644
--- a/src/drv_imap.c
+++ b/src/drv_imap.c
@@ -2079,7 +2079,7 @@ done_sasl_auth( imap_store_t *ctx, imap_cmd_t *cmd 
ATTR_UNUSED, int response )
                int rc = sasl_client_step( ctx->sasl, NULL, 0, &interact, &out, 
&out_len );
                if (process_sasl_step( ctx, rc, NULL, 0, interact, &out, 
&out_len ) < 0)
                        warn( "Warning: SASL reported failure despite 
successful IMAP authentication. Ignoring...\n" );
-               else if (out)
+               else if (out_len > 0)
                        warn( "Warning: SASL wants more steps despite 
successful IMAP authentication. Ignoring...\n" );
        }

Gergely



_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to