diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-08-20 13:22:15 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-08-20 23:07:59 +0200 |
commit | e59540139a398dc70fde6aec487b19c5085105af (patch) | |
tree | 3b9be44e9887ab3f50f374886ec86b3b9edc9a88 /lib | |
parent | 23803aae7b9e3ef15a0339a2afa9da7c5c2bfac1 (diff) |
cleanup: remove DOT_CHAR completely
Follow-up to f9c7ba9096ec
The use of DOT_CHAR for ".ssh" was probably a mistake and is removed
now.
Pointed-out-by: Gisle Vanem
Bug: https://github.com/curl/curl/pull/4230#issuecomment-522960638
Closes #4247
Diffstat (limited to 'lib')
-rw-r--r-- | lib/curl_setup.h | 9 | ||||
-rw-r--r-- | lib/url.c | 3 |
2 files changed, 1 insertions, 11 deletions
diff --git a/lib/curl_setup.h b/lib/curl_setup.h index 2b3f9f2fd..13af8cdec 100644 --- a/lib/curl_setup.h +++ b/lib/curl_setup.h @@ -486,7 +486,6 @@ #ifdef WIN32 # define DIR_CHAR "\\" -# define DOT_CHAR "_" #else /* WIN32 */ @@ -512,14 +511,6 @@ # endif # define DIR_CHAR "/" -# ifndef DOT_CHAR -# define DOT_CHAR "." -# endif - -# ifdef MSDOS -# undef DOT_CHAR -# define DOT_CHAR "_" -# endif # ifndef fileno /* sunos 4 have this as a macro! */ int fileno(FILE *stream); @@ -2860,8 +2860,7 @@ static CURLcode override_login(struct Curl_easy *data, &netrc_user_changed, &netrc_passwd_changed, data->set.str[STRING_NETRC_FILE]); if(ret > 0) { - infof(data, "Couldn't find host %s in the " - DOT_CHAR "netrc file; using defaults\n", + infof(data, "Couldn't find host %s in the .netrc file; using defaults\n", conn->host.name); } else if(ret < 0) { |