1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 16:18:48 -05:00

pop3: Introduced the continue response in pop3_endofresp()

This commit is contained in:
Steve Holme 2012-05-28 21:29:01 +01:00
parent 3fa0fbb816
commit 7291c1f565

View File

@ -219,7 +219,8 @@ static int pop3_endofresp(struct pingpong *pp, int *resp)
struct pop3_conn *pop3c = &conn->proto.pop3c;
size_t wordlen;
if((len < 3 || memcmp("+OK", line, 3)) &&
if((len < 1 || memcmp("+", line, 1)) &&
(len < 3 || memcmp("+OK", line, 3)) &&
(len < 4 || memcmp("-ERR", line, 4)))
return FALSE; /* Nothing for us */