mirror of
https://github.com/curl/curl.git
synced 2026-08-25 06:03:32 +03: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
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue