Module: wine Branch: master Commit: 2ef27a232239bcd614e53ff48054ac5fecadd354 URL: http://source.winehq.org/git/wine.git/?a=commit;h=2ef27a232239bcd614e53ff480...
Author: Bruno Jesus 00cpxxx@gmail.com Date: Wed Jan 29 20:01:09 2014 -0200
wininet: InternetGetConnectedStateExW must return TRUE for success.
---
dlls/wininet/internet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/wininet/internet.c b/dlls/wininet/internet.c index a49026c..3cf3ea6 100644 --- a/dlls/wininet/internet.c +++ b/dlls/wininet/internet.c @@ -1219,7 +1219,7 @@ BOOL WINAPI InternetGetConnectedStateExW(LPDWORD lpdwStatus, LPWSTR lpszConnecti WARN("always returning LAN connection.\n"); *lpdwStatus = INTERNET_CONNECTION_LAN; } - return LoadStringW(WININET_hModule, IDS_LANCONNECTION, lpszConnectionName, dwNameLen); + return LoadStringW(WININET_hModule, IDS_LANCONNECTION, lpszConnectionName, dwNameLen) > 0; }