summaryrefslogtreecommitdiff
path: root/lib/netrc.c
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2008-08-01 00:49:29 +0000
committerDan Fandrich <dan@coneharvesters.com>2008-08-01 00:49:29 +0000
commitbdf1157d55ce24ac966d8bc2f76c0ec70ab22fa6 (patch)
tree54c7afd92d4bb2393b2c9060f3c76d8e375b13db /lib/netrc.c
parentb4a5ce89c24a8015c1cb3226fd7a53a7af2048bc (diff)
downloadcurl-bdf1157d55ce24ac966d8bc2f76c0ec70ab22fa6.tar.gz
Made a parameter const
Diffstat (limited to 'lib/netrc.c')
-rw-r--r--lib/netrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/netrc.c b/lib/netrc.c
index 78c117512..ac6b5402b 100644
--- a/lib/netrc.c
+++ b/lib/netrc.c
@@ -72,7 +72,7 @@ enum {
#define PASSWORDSIZE 64
/* returns -1 on failure, 0 if the host is found, 1 is the host isn't found */
-int Curl_parsenetrc(char *host,
+int Curl_parsenetrc(const char *host,
char *login,
char *password,
char *netrcfile)