From: Daniel Stenberg Date: Thu, 28 Jul 2005 21:51:20 +0000 (+0000) Subject: fixed example since this is how the interface works now X-Git-Tag: curl-7_14_1~90 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9da9d00c62b3f45ffb53a95a2a88a31c661dbd83;p=thirdparty%2Fcurl.git fixed example since this is how the interface works now --- diff --git a/docs/examples/cookie_interface.c b/docs/examples/cookie_interface.c index b9278dbcda..d184edb54e 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);