Module: wine Branch: refs/heads/master Commit: a27eee868e3aeebe37b954575b26c8ba448198e6 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=a27eee868e3aeebe37b95457...
Author: Mike McCormack mike@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;