Ken Thomases : wininet: Use "ping -c 1" instead of "ping -w 1"
for InternetCheckConnection.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Feb 28 14:40:20 CST 2007
Module: wine
Branch: master
Commit: b33057986a6e842e48a9a090d70277ad99489180
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b33057986a6e842e48a9a090d70277ad99489180
Author: Ken Thomases <ken at codeweavers.com>
Date: Wed Feb 28 14:04:58 2007 -0600
wininet: Use "ping -c 1" instead of "ping -w 1" for InternetCheckConnection.
---
dlls/wininet/internet.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wininet/internet.c b/dlls/wininet/internet.c
index 436dd8b..e11fcb7 100644
--- a/dlls/wininet/internet.c
+++ b/dlls/wininet/internet.c
@@ -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];
More information about the wine-cvs
mailing list