aboutsummaryrefslogtreecommitdiff
path: root/docs/examples
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-07-28 21:51:20 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-07-28 21:51:20 +0000
commit9da9d00c62b3f45ffb53a95a2a88a31c661dbd83 (patch)
treeaa1e33446f504baa7ffe606a41920e6c0eb446b5 /docs/examples
parentec3f269d1fa82a1101a638f1df6fd14c9fc831e5 (diff)
fixed example since this is how the interface works now
Diffstat (limited to 'docs/examples')
-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);