Commit d0b72cee authored by Thomas Faber's avatar Thomas Faber Committed by Alexandre Julliard

qmgr: Fully initialize URL_COMPONENTSW structure before calling WinHttpCrackUrl.

parent fd040fc9
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment