mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
Made a parameter const
This commit is contained in:
parent
b4a5ce89c2
commit
bdf1157d55
@ -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)
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user