mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
Initialize nSocketFD to INVALID_SOCKET.
This commit is contained in:
parent
231cc27c80
commit
73d4b5e081
1 changed files with 1 additions and 0 deletions
|
@ -211,6 +211,7 @@ INTERNETAPI HINTERNET WINAPI HTTP_HttpOpenRequestA(HINTERNET hHttpSession,
|
|||
lpwhr->hdr.lpwhparent = hHttpSession;
|
||||
lpwhr->hdr.dwFlags = dwFlags;
|
||||
lpwhr->hdr.dwContext = dwContext;
|
||||
lpwhr->nSocketFD = INVALID_SOCKET;
|
||||
|
||||
if (NULL != lpszObjectName && strlen(lpszObjectName))
|
||||
lpwhr->lpszPath = HEAP_strdupA(GetProcessHeap(), 0, lpszObjectName);
|
||||
|
|
Loading…
Reference in a new issue