imap: Fixed response check for NOOP command
authorSteve Holme <steve_holme@hotmail.com>
Sat, 14 Sep 2013 09:40:32 +0000 (10:40 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Sat, 14 Sep 2013 09:44:28 +0000 (10:44 +0100)
RELEASE-NOTES
lib/imap.c

index ed3853e6bbf640aabf135bfcdcf5038661116b75..203b7fb25fd90e342676c1c460d55a02f2fac113 100644 (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]
index 5011692d15b486465cb29e9dab72a15019bea598..7c0bf5c0e55ed40fcbd17941fb5f0d31cb57dde2 100644 (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;