wininet: Use "ping -c 1" instead of "ping -w 1" for InternetCheckConnection.
This commit is contained in:
parent
9ccad53fb9
commit
b33057986a
|
@ -2699,7 +2699,7 @@ BOOL WINAPI InternetCheckConnectionW( LPCWSTR lpszUrl, DWORD dwFlags, DWORD dwRe
|
|||
*/
|
||||
|
||||
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";
|
||||
CHAR *command = NULL;
|
||||
WCHAR hostW[1024];
|
||||
|
|
Loading…
Reference in New Issue