aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/curl_setup.h9
-rw-r--r--lib/url.c3
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);
diff --git a/lib/url.c b/lib/url.c
index 30263258f..437b5d85c 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -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) {