mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 15:48:49 -05:00
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:
parent
d10a941d29
commit
2465ff991f
@ -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) ) {
|
||||
|
Loading…
Reference in New Issue
Block a user