mirror of
https://github.com/curl/curl.git
synced 2026-08-04 14:26:17 +03: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
1 changed files with 2 additions and 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) ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue