From 73d4b5e081da2d99b2e1df6e9f7ea93febdfc1ab Mon Sep 17 00:00:00 2001 From: Huw D M Davies Date: Fri, 10 Nov 2000 01:04:08 +0000 Subject: [PATCH] Initialize nSocketFD to INVALID_SOCKET. --- dlls/wininet/http.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c index 626df957e0f..77c9ebeb951 100644 --- a/dlls/wininet/http.c +++ b/dlls/wininet/http.c @@ -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); -- 2.11.4.GIT