]> Pileus Git - ~andy/fetchmail/blobdiff - imap.c
Backed out bad BAD and NO handling.
[~andy/fetchmail] / imap.c
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)