]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
fixed example since this is how the interface works now
authorDaniel Stenberg <daniel@haxx.se>
Thu, 28 Jul 2005 21:51:20 +0000 (21:51 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 28 Jul 2005 21:51:20 +0000 (21:51 +0000)
docs/examples/cookie_interface.c

index b9278dbcda2da4948604097515a1e6dc0c826089..d184edb54e427bc2fedd3bf6677e164df04d172e 100644 (file)
@@ -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);