logo       

bagder: curl/docs/examples cookie_interface.c,1.1,1.2: msg#00039

web.curl.cvs

Subject: bagder: curl/docs/examples cookie_interface.c,1.1,1.2

Update of /cvsroot/curl/curl/docs/examples
In directory labb:/tmp/cvs-serv6262

Modified Files:
cookie_interface.c
Log Message:
fixed example since this is how the interface works now


Index: cookie_interface.c
===================================================================
RCS file: /cvsroot/curl/curl/docs/examples/cookie_interface.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- cookie_interface.c 27 Jul 2005 22:17:14 -0000 1.1
+++ cookie_interface.c 28 Jul 2005 21:51:20 -0000 1.2
@@ -64,7 +64,7 @@
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);


_______________________________________________
http://cool.haxx.se/mailman/listinfo/curl-commits



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise