Commit 9281be36 authored by Alex McLellan's avatar Alex McLellan Committed by Steve Holme
Browse files

imap: Fixed response check for SEARCH command

Adding this line allows libcurl to return the server response when
performing a search command via a custom request.
parent f15a88f2
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -307,7 +307,8 @@ static bool imap_endofresp(struct connectdata *conn, char *line, size_t len,
           (strcmp(imap->custom, "STORE") ||
            !imap_matchresp(line, len, "FETCH")) &&
           strcmp(imap->custom, "SELECT") &&
           strcmp(imap->custom, "EXAMINE")))
           strcmp(imap->custom, "EXAMINE") &&
           strcmp(imap->custom, "SEARCH")))
          return FALSE;
        break;