From 9da9d00c62b3f45ffb53a95a2a88a31c661dbd83 Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Thu, 28 Jul 2005 21:51:20 +0000
Subject: [PATCH] fixed example since this is how the interface works now

---
 docs/examples/cookie_interface.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);