From: Dan Fandrich Date: Fri, 1 Aug 2008 00:49:29 +0000 (+0000) Subject: Made a parameter const X-Git-Tag: curl-7_19_0~249 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bdf1157d55ce24ac966d8bc2f76c0ec70ab22fa6;p=thirdparty%2Fcurl.git Made a parameter const --- diff --git a/lib/netrc.c b/lib/netrc.c index 78c117512f..ac6b5402b9 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 939c552dff..a82b3fc353 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);