diff options
author | Steve Holme <steve_holme@hotmail.com> | 2013-09-14 10:40:32 +0100 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2013-09-14 10:44:28 +0100 |
commit | fbcefc0ce0cbe14c5f75d8c4ca2be9cdfce3e4d3 (patch) | |
tree | 46534f8736acfb2693c70403b20cb5a2b6b90726 | |
parent | 83f6f58834fd9a31ca8d1322144647644c04e880 (diff) |
imap: Fixed response check for NOOP command
-rw-r--r-- | RELEASE-NOTES | 2 | ||||
-rw-r--r-- | lib/imap.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/RELEASE-NOTES b/RELEASE-NOTES index ed3853e6b..203b7fb25 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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] diff --git a/lib/imap.c b/lib/imap.c index 5011692d1..7c0bf5c0e 100644 --- a/lib/imap.c +++ b/lib/imap.c @@ -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; |