From bdf1157d55ce24ac966d8bc2f76c0ec70ab22fa6 Mon Sep 17 00:00:00 2001
From: Dan Fandrich <dan@coneharvesters.com>
Date: Fri, 1 Aug 2008 00:49:29 +0000
Subject: Made a parameter const

---
 lib/netrc.c | 2 +-
 lib/netrc.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

(limited to 'lib')

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)
diff --git a/lib/netrc.h b/lib/netrc.h
index 939c552df..a82b3fc35 100644
--- a/lib/netrc.h
+++ b/lib/netrc.h
@@ -22,7 +22,7 @@
  *
  * $Id$
  ***************************************************************************/
-int Curl_parsenetrc(char *host,
+int Curl_parsenetrc(const char *host,
                     char *login,
                     char *password,
                     char *filename);
-- 
cgit v1.2.3