]> granicus.if.org Git - curl/commitdiff
Made a parameter const
authorDan Fandrich <dan@coneharvesters.com>
Fri, 1 Aug 2008 00:49:29 +0000 (00:49 +0000)
committerDan Fandrich <dan@coneharvesters.com>
Fri, 1 Aug 2008 00:49:29 +0000 (00:49 +0000)
lib/netrc.c
lib/netrc.h

index 78c117512fb0e98c1c406f812faa8944b4a4d79a..ac6b5402b94ab0fd0eee7eaa7178ce7d7f0aaf2e 100644 (file)
@@ -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)
index 939c552dff842adf3f8be1e3ae68c6d10dd4d56a..a82b3fc3533d46d5ada982687b526748e1bbcbec 100644 (file)
@@ -22,7 +22,7 @@
  *
  * $Id$
  ***************************************************************************/
-int Curl_parsenetrc(char *host,
+int Curl_parsenetrc(const char *host,
                     char *login,
                     char *password,
                     char *filename);