wininet: Always copy the password even if blank.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
13e523297e
commit
6552ddaaa5
|
@ -5809,8 +5809,7 @@ DWORD HTTP_Connect(appinfo_t *hIC, LPCWSTR lpszServerName,
|
|||
session->hostName = heap_strdupW(lpszServerName);
|
||||
if (lpszUserName && lpszUserName[0])
|
||||
session->userName = heap_strdupW(lpszUserName);
|
||||
if (lpszPassword && lpszPassword[0])
|
||||
session->password = heap_strdupW(lpszPassword);
|
||||
session->password = heap_strdupW(lpszPassword);
|
||||
session->hostPort = serverPort;
|
||||
session->connect_timeout = hIC->connect_timeout;
|
||||
session->send_timeout = 0;
|
||||
|
|
Loading…
Reference in New Issue