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 b9278db..d184edb 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);