diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2001-08-01 07:20:53 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2001-08-01 07:20:53 +0000 |
commit | 0bcc6704101d1ca85981245d9efae0fea9803b16 (patch) | |
tree | 87114d0a8b58b784f84480b7a89e7600aa8a9867 | |
parent | d33724740bb99f811af62490fb704d8578710197 (diff) | |
download | fetchmail-0bcc6704101d1ca85981245d9efae0fea9803b16.tar.gz fetchmail-0bcc6704101d1ca85981245d9efae0fea9803b16.tar.bz2 fetchmail-0bcc6704101d1ca85981245d9efae0fea9803b16.zip |
Backed out bad BAD and NO handling.
svn path=/trunk/; revision=3434
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | imap.c | 4 |
2 files changed, 1 insertions, 4 deletions
@@ -3,6 +3,7 @@ (The `lines' figures total .c, .h, .l, and .y files under version control.) * Handle ! in RFC2821 Return-Path addresses properly. +* Backed out attempt to handle BAD and NO responses to FETCH, it's broken. fetchmail-5.8.15 (Tue Jul 31 02:07:03 EDT 2001), 21075 lines: @@ -680,10 +680,6 @@ static int imap_fetch_headers(int sock, struct query *ctl,int number,int *lenp) return(ok); if (sscanf(buf+2, "%d FETCH (%*s {%d}", &num, lenp) == 2) break; - else if (sscanf(buf+2, "%d NO", &num) == 1) - return(PS_ERROR); - else if (sscanf(buf+2, "%d BAD", &num) == 1) - return(PS_ERROR); } if (num != number) |