mirror of
https://github.com/curl/curl.git
synced 2026-08-24 23:43:40 +03:00
netrc: remove the two 'changed' arguments
As no user of these functions used the returned content.
This commit is contained in:
parent
c4715b1c92
commit
57e2bb52aa
4 changed files with 15 additions and 52 deletions
|
|
@ -28,12 +28,8 @@
|
|||
#ifndef CURL_DISABLE_NETRC
|
||||
|
||||
/* returns -1 on failure, 0 if the host is found, 1 is the host isn't found */
|
||||
int Curl_parsenetrc(const char *host,
|
||||
char **loginp,
|
||||
char **passwordp,
|
||||
bool *login_changed,
|
||||
bool *password_changed,
|
||||
char *filename);
|
||||
int Curl_parsenetrc(const char *host, char **loginp,
|
||||
char **passwordp, char *filename);
|
||||
/* Assume: (*passwordp)[0]=0, host[0] != 0.
|
||||
* If (*loginp)[0] = 0, search for login and password within a machine
|
||||
* section in the netrc.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue