aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-01-26 16:16:44 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-01-26 16:16:44 +0000
commit2465ff991fb9c4291c30cb8a3dd61c14fd90d7c5 (patch)
treebaa4721c039128b4c8710bfe8ced6581a95dbf30 /lib
parentd10a941d2942aba68fd0ddf33b7216ef7aff6d56 (diff)
when saving in a cookie jar fails, include the file name in the error message
to make it easier to track down
Diffstat (limited to 'lib')
-rw-r--r--lib/url.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/url.c b/lib/url.c
index 022c151c8..fc7eb962d 100644
--- 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) ) {