diff options
Diffstat (limited to 'lib/netrc.c')
-rw-r--r-- | lib/netrc.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/netrc.c b/lib/netrc.c index 97a07b88e..06f8ea15a 100644 --- a/lib/netrc.c +++ b/lib/netrc.c @@ -109,11 +109,7 @@ int Curl_parsenetrc(const char *host, netrc_alloc = TRUE; } -#ifdef __CYGWIN__ - file = fopen(netrcfile, "rt"); -#else - file = fopen(netrcfile, "r"); -#endif + file = fopen(netrcfile, FOPEN_READTEXT); if(netrc_alloc) free(netrcfile); if(file) { |