Commit 99980cf9 authored by Steve Holme's avatar Steve Holme
Browse files

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

Fixed commit fa5fa65a to not use NULLs in if condition.
parent fa5fa65a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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) ||