mirror of
https://github.com/curl/curl.git
synced 2026-05-02 10:27:51 +03:00
parent
3ab45650e2
commit
389426e3d0
1 changed files with 0 additions and 7 deletions
|
|
@ -2761,13 +2761,6 @@ static CURLcode set_login(struct connectdata *conn)
|
|||
result = CURLE_OUT_OF_MEMORY;
|
||||
}
|
||||
|
||||
/* if there's a user without password, consider password blank */
|
||||
if(conn->user && !conn->passwd) {
|
||||
conn->passwd = strdup("");
|
||||
if(!conn->passwd)
|
||||
result = CURLE_OUT_OF_MEMORY;
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue