]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
imap: Fixed response check for LSUB and UID commands
authorSteve Holme <steve_holme@hotmail.com>
Wed, 11 Sep 2013 19:13:24 +0000 (20:13 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Wed, 11 Sep 2013 19:15:21 +0000 (20:15 +0100)
RELEASE-NOTES
lib/imap.c

index 59310f2246fec4b35932501d589a1dddced1dcf5..ed3853e6bbf640aabf135bfcdcf5038661116b75 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 and EXPUNGE commands [10]
+ o imap: Fixed response check for SEARCH, EXPUNGE, LSUB and UID 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 6a3b364493232df8a34409056dcd1abd692b887a..5011692d15b486465cb29e9dab72a15019bea598 100644 (file)
@@ -310,7 +310,9 @@ static bool imap_endofresp(struct connectdata *conn, char *line, size_t len,
            strcmp(imap->custom, "SELECT") &&
            strcmp(imap->custom, "EXAMINE") &&
            strcmp(imap->custom, "SEARCH") &&
-           strcmp(imap->custom, "EXPUNGE")))
+           strcmp(imap->custom, "EXPUNGE") &&
+           strcmp(imap->custom, "LSUB") &&
+           strcmp(imap->custom, "UID")))
           return FALSE;
         break;