mirror of https://github.com/moparisthebest/curl
fixed example since this is how the interface works now
This commit is contained in:
parent
ec3f269d1f
commit
9da9d00c62
|
@ -64,7 +64,7 @@ main(void)
|
|||
print_cookies(curl);
|
||||
|
||||
printf("Erasing curl's knowledge of cookies!\n");
|
||||
curl_easy_setopt(curl, CURLOPT_COOKIELIST, NULL);
|
||||
curl_easy_setopt(curl, CURLOPT_COOKIELIST, "ALL");
|
||||
|
||||
print_cookies(curl);
|
||||
|
||||
|
|
Loading…
Reference in New Issue