]> granicus.if.org Git - curl/commitdiff
improved the test
authorDaniel Stenberg <daniel@haxx.se>
Sun, 26 Aug 2001 14:28:05 +0000 (14:28 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 26 Aug 2001 14:28:05 +0000 (14:28 +0000)
lib/cookie.c

index a8c4179a5382e33920fd4d11c6fda5f0299ab0ff..b9acb944bb4ae0b90a0225b523e1294463312379 100644 (file)
@@ -644,10 +644,8 @@ int main(int argc, char **argv)
   struct CookieInfo *c=NULL;
   if(argc>1) {
     c = Curl_cookie_init(argv[1], c);
-    c = Curl_cookie_init(argv[1], c);
-    c = Curl_cookie_init(argv[1], c);
-
     Curl_cookie_add(c, TRUE, "PERSONALIZE=none;expires=Monday, 13-Jun-1988 03:04:55 GMT; domain=.fidelity.com; path=/ftgw; secure");
+    c = Curl_cookie_init(argv[1], c);
 
     Curl_cookie_output(c);
     Curl_cookie_cleanup(c);