=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: wininet: Use boolean return value in boolean function.

Alexandre Julliard julliard at winehq.org
Tue Feb 4 13:55:05 CST 2014


Module: wine
Branch: master
Commit: c8426495fcf9db0d5cfb73d7d8080d1a82c36e6b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=c8426495fcf9db0d5cfb73d7d8080d1a82c36e6b

Author: André Hentschel <nerv at dawncrow.de>
Date:   Wed Jan 29 22:28:25 2014 +0100

wininet: Use boolean return value in boolean function.

---

 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 3cf3ea6..a37606a 100644
--- a/dlls/wininet/internet.c
+++ b/dlls/wininet/internet.c
@@ -1765,7 +1765,7 @@ BOOL WINAPI InternetCrackUrlW(LPCWSTR lpszUrl_orig, DWORD dwUrlLength_orig, DWOR
 
     if(!found_colon){
         SetLastError(ERROR_INTERNET_UNRECOGNIZED_SCHEME);
-        return 0;
+        return FALSE;
     }
 
     lpUC->nScheme = INTERNET_SCHEME_UNKNOWN;




More information about the wine-cvs mailing list