From 2465ff991fb9c4291c30cb8a3dd61c14fd90d7c5 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 26 Jan 2004 16:16:44 +0000 Subject: when saving in a cookie jar fails, include the file name in the error message to make it easier to track down --- lib/url.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') 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) ) { -- cgit v1.2.3