Made a parameter const

This commit is contained in:
Dan Fandrich
2008-08-01 00:49:29 +00:00
parent b4a5ce89c2
commit bdf1157d55
2 changed files with 2 additions and 2 deletions

View File

@@ -72,7 +72,7 @@ enum {
#define PASSWORDSIZE 64 #define PASSWORDSIZE 64
/* returns -1 on failure, 0 if the host is found, 1 is the host isn't found */ /* 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 *login,
char *password, char *password,
char *netrcfile) char *netrcfile)

View File

@@ -22,7 +22,7 @@
* *
* $Id$ * $Id$
***************************************************************************/ ***************************************************************************/
int Curl_parsenetrc(char *host, int Curl_parsenetrc(const char *host,
char *login, char *login,
char *password, char *password,
char *filename); char *filename);