wininet: Fix a typo (spotted by Coverity).
This commit is contained in:
parent
ff6885495b
commit
a27eee868e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue