Mike McCormack : wininet: Fix a typo (spotted by Coverity).

Alexandre Julliard julliard at wine.codeweavers.com
Thu May 11 05:56:10 CDT 2006


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

Author: Mike McCormack <mike at codeweavers.com>
Date:   Thu May 11 10:22:58 2006 +0900

wininet: Fix a typo (spotted by Coverity).

---

 dlls/wininet/dialogs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/wininet/dialogs.c b/dlls/wininet/dialogs.c
index 7fc6207..24c8506 100644
--- a/dlls/wininet/dialogs.c
+++ b/dlls/wininet/dialogs.c
@@ -80,7 +80,7 @@ static BOOL WININET_GetProxyServer( HINT
 
     /* FIXME: perhaps it would be better to use InternetCrackUrl here */
     p = strchrW(szBuf, ':');
-    if(*p)
+    if (p)
         *p = 0;
 
     return TRUE;




More information about the wine-cvs mailing list