mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 09:21:50 -05:00
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:
parent
fa5fa65a30
commit
99980cf904
@ -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) ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user