Index: dll/win32/wininet/internet.c =================================================================== --- dll/win32/wininet/internet.c (revision 54496) +++ dll/win32/wininet/internet.c (working copy) @@ -3099,13 +3099,15 @@ */ BOOL rc = FALSE; +#ifndef __REACTOS__ static const CHAR ping[] = "ping -c 1 "; static const CHAR redirect[] = " >/dev/null 2>/dev/null"; CHAR *command = NULL; + int status = -1; + DWORD len; +#endif WCHAR hostW[1024]; - DWORD len; INTERNET_PORT port; - int status = -1; FIXME("\n"); @@ -3156,8 +3158,10 @@ close(fd); } } + else { +#ifndef __REACTOS__ /* * Build our ping command */ @@ -3176,11 +3180,17 @@ /* Ping return code of 0 indicates success */ if (status == 0) rc = TRUE; +#else + rc = TRUE; + WARN("InternetCheckConnection always returning true\n"); +#endif } + End: - +#ifndef __REACTOS__ HeapFree( GetProcessHeap(), 0, command ); +#endif if (rc == FALSE) INTERNET_SetLastError(ERROR_NOT_CONNECTED);