]> Pileus Git - ~andy/fetchmail/commitdiff
Backed out bad BAD and NO handling.
authorEric S. Raymond <esr@thyrsus.com>
Wed, 1 Aug 2001 07:20:53 +0000 (07:20 -0000)
committerEric S. Raymond <esr@thyrsus.com>
Wed, 1 Aug 2001 07:20:53 +0000 (07:20 -0000)
svn path=/trunk/; revision=3434

NEWS
imap.c

diff --git a/NEWS b/NEWS
index ee8125c4d9d5853ae05d156c073bf19d23b62b8c..ef9b54fcebc1e6e8f76466ae95cf9d678b5c0880 100644 (file)
--- 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 7ea1ef98d22ae710e5dae40bde618862c080a3fe..0adb7075bb923cbca8ed1f16a0c74642e4134bd2 100644 (file)
--- 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)