mirror of
https://github.com/curl/curl.git
synced 2026-08-03 00:40:29 +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
|
|
@ -2996,8 +2996,6 @@ static CURLcode override_login(struct Curl_easy *data,
|
|||
char **userp = &conn->user;
|
||||
char **passwdp = &conn->passwd;
|
||||
char **optionsp = &conn->options;
|
||||
bool netrc_user_changed = FALSE;
|
||||
bool netrc_passwd_changed = FALSE;
|
||||
|
||||
if(data->set.str[STRING_OPTIONS]) {
|
||||
free(*optionsp);
|
||||
|
|
@ -3024,7 +3022,6 @@ static CURLcode override_login(struct Curl_easy *data,
|
|||
|
||||
ret = Curl_parsenetrc(conn->host.name,
|
||||
userp, passwdp,
|
||||
&netrc_user_changed, &netrc_passwd_changed,
|
||||
data->set.str[STRING_NETRC_FILE]);
|
||||
if(ret > 0) {
|
||||
infof(data, "Couldn't find host %s in the %s file; using defaults",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue