forked from Mirrors/wine-wine
wininet: Use "ping -c 1" instead of "ping -w 1" for InternetCheckConnection.
parent
9ccad53fb9
commit
b33057986a
|
@ -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];
|
||||||
|
|
Loading…
Reference in New Issue