aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/examples/cookie_interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/cookie_interface.c b/docs/examples/cookie_interface.c
index b9278dbcd..d184edb54 100644
--- a/docs/examples/cookie_interface.c
+++ b/docs/examples/cookie_interface.c
@@ -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);