diff options
Diffstat (limited to 'lib/netrc.c')
-rw-r--r-- | lib/netrc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/netrc.c b/lib/netrc.c index d8c0a5971..7a9a10b83 100644 --- a/lib/netrc.c +++ b/lib/netrc.c @@ -51,15 +51,15 @@ enum { #define LOGINSIZE 64 #define PASSWORDSIZE 64 -int ParseNetrc(char *host, - char *login, - char *password) +int Curl_parsenetrc(char *host, + char *login, + char *password) { FILE *file; char netrcbuffer[256]; int retcode=1; - char *home = GetEnv("HOME"); /* portable environment reader */ + char *home = curl_getenv("HOME"); /* portable environment reader */ int state=NOTHING; char state_login=0; |