mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
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.
This commit is contained in:
parent
f15a88f2b2
commit
9281be36d5
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user