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

oldstable
Ken Thomases 2007-02-28 14:04:58 -06:00 committed by Alexandre Julliard
parent 9ccad53fb9
commit b33057986a
1 changed files with 1 additions and 1 deletions

View File

@ -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];