commit 50d0fc3aa82b374a94e72ae6945cb2e5221f91d9
Author: Oswald Buddenhagen <o...@kde.org>
Date:   Sun Dec 5 16:49:11 2010 +0100

    make response code parse failure of untagged OK/NO/BYE/BAD non-fatal
    
    as such, it does not disrupt the data stream

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

diff --git a/src/drv_imap.c b/src/drv_imap.c
index 44792bc..138c9a6 100644
--- a/src/drv_imap.c
+++ b/src/drv_imap.c
@@ -1018,8 +1018,7 @@ get_cmd_result( imap_store_t *ctx, struct imap_cmd *tcmd )
                                ctx->ns_shared = parse_list( &cmd );
                        } else if (!strcmp( "OK", arg ) || !strcmp( "BAD", arg 
) ||
                                   !strcmp( "NO", arg ) || !strcmp( "BYE", arg 
)) {
-                               if ((resp = parse_response_code( ctx, 0, cmd )) 
!= RESP_OK)
-                                       return resp;
+                               parse_response_code( ctx, 0, cmd );
                        } else if (!strcmp( "CAPABILITY", arg ))
                                parse_capability( ctx, cmd );
                        else if (!strcmp( "LIST", arg ))

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to