Skip to content
Snippets Groups Projects
Commit 27ecc226 authored by Steve Holme's avatar Steve Holme
Browse files

pop3-dele.c: Added missing CURLOPT_NOBODY following feedback

parent 7f807f39
No related branches found
No related tags found
No related merge requests found
......@@ -45,6 +45,9 @@ int main(void)
/* Set the DELE command */
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "DELE");
/* Do not perform a transfer as DELE returns no data */
curl_easy_setopt(curl, CURLOPT_NOBODY, 1L);
/* Perform the custom request */
res = curl_easy_perform(curl);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment