aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--imap.c4
2 files changed, 1 insertions, 4 deletions
diff --git a/NEWS b/NEWS
index ee8125c4..ef9b54fc 100644
--- a/NEWS
+++ b/NEWS
@@ -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:
diff --git a/imap.c b/imap.c
index 7ea1ef98..0adb7075 100644
--- a/imap.c
+++ b/imap.c
@@ -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)