parent
6740cf9ea0
commit
690c43b3ee
@ -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…
Reference in New Issue
Block a user