url.c: Prefer we don't use explicit NULLs in conditions

Fixed commit fa5fa65a30 to not use NULLs in if condition.
This commit is contained in:
Steve Holme 2016-04-20 18:07:05 +01:00
parent fa5fa65a30
commit 99980cf904
1 changed files with 2 additions and 2 deletions

View File

@ -3444,8 +3444,8 @@ ConnectionExists(struct SessionHandle *data,
/* Same for Proxy NTLM authentication */
if(wantProxyNTLMhttp) {
/* Both check->proxyuser and check->proxypasswd could be NULL */
if(check->proxyuser == NULL || check->proxypasswd == NULL)
/* Both check->proxyuser and check->proxypasswd can be NULL */
if(!check->proxyuser || !check->proxypasswd)
continue;
if(!strequal(needle->proxyuser, check->proxyuser) ||