mirror of
https://github.com/curl/curl.git
synced 2026-05-19 18:16:24 +03:00
Made a parameter const
This commit is contained in:
parent
b4a5ce89c2
commit
bdf1157d55
2 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
*
|
||||
* $Id$
|
||||
***************************************************************************/
|
||||
int Curl_parsenetrc(char *host,
|
||||
int Curl_parsenetrc(const char *host,
|
||||
char *login,
|
||||
char *password,
|
||||
char *filename);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue