commit 957a0f090669a60c8261476051c15e468547d26e
Author: Oswald Buddenhagen <[email protected]>
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 2786116..cfd9394 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 ))
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel