Initialize nSocketFD to INVALID_SOCKET.

This commit is contained in:
Huw D M Davies 2000-11-10 01:04:08 +00:00 committed by Alexandre Julliard
parent 231cc27c80
commit 73d4b5e081
1 changed files with 1 additions and 0 deletions

View File

@ -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);