diff options
author | Steve Holme <steve_holme@hotmail.com> | 2016-04-20 18:07:05 +0100 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2016-04-20 18:07:05 +0100 |
commit | 99980cf904a9d5e59ad6c0d91ad50129b6dfc9b7 (patch) | |
tree | 1b26cf5ad21a90b1f94a1820bb26e6d23c723867 | |
parent | fa5fa65a309f352284e58f52183d586886eb17ea (diff) |
url.c: Prefer we don't use explicit NULLs in conditions
Fixed commit fa5fa65a30 to not use NULLs in if condition.
-rw-r--r-- | lib/url.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) || |