mirror of
https://github.com/curl/curl.git
synced 2026-05-07 04:07:31 +03:00
parent
6740cf9ea0
commit
690c43b3ee
1 changed files with 1 additions and 1 deletions
|
|
@ -2744,7 +2744,7 @@ static CURLcode override_login(struct Curl_easy *data,
|
|||
return CURLE_OUT_OF_MEMORY;
|
||||
}
|
||||
/* no user was set but a password, set a blank user */
|
||||
if(userp && !*userp && *passwdp) {
|
||||
if(!*userp && *passwdp) {
|
||||
*userp = strdup("");
|
||||
if(!*userp)
|
||||
return CURLE_OUT_OF_MEMORY;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue