mirror of
https://github.com/moparisthebest/curl
synced 2024-12-24 09:08:49 -05:00
parent
3ab45650e2
commit
389426e3d0
@ -2761,13 +2761,6 @@ static CURLcode set_login(struct connectdata *conn)
|
|||||||
result = CURLE_OUT_OF_MEMORY;
|
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;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user