]> granicus.if.org Git - curl/commitdiff
when saving in a cookie jar fails, include the file name in the error message
authorDaniel Stenberg <daniel@haxx.se>
Mon, 26 Jan 2004 16:16:44 +0000 (16:16 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 26 Jan 2004 16:16:44 +0000 (16:16 +0000)
to make it easier to track down

lib/url.c

index 022c151c8ea6c73dec5c5ca8cc4a701a0ba483ca..fc7eb962de33ad344d1a4b0ee8ac8ecced72f361 100644 (file)
--- a/lib/url.c
+++ b/lib/url.c
@@ -216,7 +216,8 @@ CURLcode Curl_close(struct SessionHandle *data)
   if(data->set.cookiejar) {
     /* we have a "destination" for all the cookies to get dumped to */
     if(Curl_cookie_output(data->cookies, data->set.cookiejar))
-      infof(data, "WARNING: failed to save cookies in given jar\n");
+      infof(data, "WARNING: failed to save cookies in %s\n",
+            data->set.cookiejar);
   }
 
   if( !data->share || (data->cookies != data->share->cookies) ) {