when saving in a cookie jar fails, include the file name in the error message

to make it easier to track down
This commit is contained in:
Daniel Stenberg 2004-01-26 16:16:44 +00:00
parent d10a941d29
commit 2465ff991f
1 changed files with 2 additions and 1 deletions

View File

@ -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) ) {