]> git.ipfire.org Git - thirdparty/curl.git/commit
url: fix netrc info message
authorJay Satiro <raysatiro@yahoo.com>
Wed, 20 Sep 2023 22:59:45 +0000 (18:59 -0400)
committerJay Satiro <raysatiro@yahoo.com>
Sun, 24 Sep 2023 07:37:13 +0000 (03:37 -0400)
commitab18c04218ff316cd67b1e928c5cee579b2f66a0
treeace203d13b8592ca71184d9412050bf7c7a6e16b
parent739a9e8e124133ec1c375819f6534bb54fa22022
url: fix netrc info message

- Fix netrc info message to use the generic ".netrc" filename if the
  user did not specify a netrc location.

- Update --netrc doc to add that recent versions of curl on Windows
  prefer .netrc over _netrc.

Before:
* Couldn't find host google.com in the (nil) file; using defaults

After:
* Couldn't find host google.com in the .netrc file; using defaults

Closes https://github.com/curl/curl/pull/11904
docs/cmdline-opts/netrc.d
lib/url.c