wininet: Fix a typo (spotted by Coverity).

This commit is contained in:
Mike McCormack 2006-05-11 10:22:58 +09:00 committed by Alexandre Julliard
parent ff6885495b
commit a27eee868e
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ static BOOL WININET_GetProxyServer( HINTERNET hRequest, LPWSTR szBuf, DWORD sz )
/* FIXME: perhaps it would be better to use InternetCrackUrl here */
p = strchrW(szBuf, ':');
if(*p)
if (p)
*p = 0;
return TRUE;