1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

imap: Fixed response check for NOOP command

This commit is contained in:
Steve Holme 2013-09-14 10:40:32 +01:00
parent 83f6f58834
commit fbcefc0ce0
2 changed files with 3 additions and 2 deletions

View File

@ -26,7 +26,7 @@ This release includes the following bugfixes:
o tests 2032, 2033: Don't hardcode port in expected output
o urlglob: better detect unclosed braces, empty lists and overflows [7]
o urlglob: error out on range overflow [8]
o imap: Fixed response check for SEARCH, EXPUNGE, LSUB and UID commands [10]
o imap: Fixed response check for SEARCH, EXPUNGE, LSUB, UID and NOOP commands [10]
o handle arbitrary-length username and password [2]
o TFTP: make the CURLOPT_LOW_SPEED* options work [4]
o curl.h: name space pollution by "enum type" [5]

View File

@ -312,7 +312,8 @@ static bool imap_endofresp(struct connectdata *conn, char *line, size_t len,
strcmp(imap->custom, "SEARCH") &&
strcmp(imap->custom, "EXPUNGE") &&
strcmp(imap->custom, "LSUB") &&
strcmp(imap->custom, "UID")))
strcmp(imap->custom, "UID") &&
strcmp(imap->custom, "NOOP")))
return FALSE;
break;