qmgr: Fully initialize URL_COMPONENTSW structure before calling WinHttpCrackUrl.
Signed-off-by: Thomas Faber <thomas.faber@reactos.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
fd040fc9d9
commit
d0b72cee0d
|
@ -522,6 +522,8 @@ BOOL processFile(BackgroundCopyFileImpl *file, BackgroundCopyJobImpl *job)
|
|||
uc.nPort = 0;
|
||||
uc.lpszUrlPath = NULL;
|
||||
uc.dwUrlPathLength = ~0u;
|
||||
uc.lpszExtraInfo = NULL;
|
||||
uc.dwExtraInfoLength = 0;
|
||||
ret = WinHttpCrackUrl(file->info.RemoteName, 0, 0, &uc);
|
||||
if (!ret)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue