mirror of
https://github.com/curl/curl.git
synced 2026-06-02 04:04:26 +03:00
pop3: Introduced the continue response in pop3_endofresp()
This commit is contained in:
parent
3fa0fbb816
commit
7291c1f565
1 changed files with 2 additions and 1 deletions
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue