diff options
-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) |