Commit b3305798 authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

wininet: Use "ping -c 1" instead of "ping -w 1" for InternetCheckConnection.

parent 9ccad53f
...@@ -2699,7 +2699,7 @@ BOOL WINAPI InternetCheckConnectionW( LPCWSTR lpszUrl, DWORD dwFlags, DWORD dwRe ...@@ -2699,7 +2699,7 @@ BOOL WINAPI InternetCheckConnectionW( LPCWSTR lpszUrl, DWORD dwFlags, DWORD dwRe
*/ */
BOOL rc = FALSE; BOOL rc = FALSE;
static const CHAR ping[] = "ping -w 1 "; static const CHAR ping[] = "ping -c 1 ";
static const CHAR redirect[] = " >/dev/null 2>/dev/null"; static const CHAR redirect[] = " >/dev/null 2>/dev/null";
CHAR *command = NULL; CHAR *command = NULL;
WCHAR hostW[1024]; WCHAR hostW[1024];
......
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