VirtualBox

Changeset 58419 in vbox for trunk/src/VBox/Runtime/generic


Ignore:
Timestamp:
Oct 26, 2015 12:20:35 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
103666
Message:

IPRT/http-curl.cpp: Only call rtHttpUrlInNoProxyList if we found a no_proxy variable!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/generic/http-curl.cpp

    r58418 r58419  
    724724    }
    725725    AssertMsg(rc == VINF_SUCCESS || rc == VERR_ENV_VAR_NOT_FOUND, ("rc=%Rrc\n", rc));
    726     bool fNoProxy = rtHttpUrlInNoProxyList(pszUrl, RTStrStrip(pszNoProxy));
     726    bool fNoProxy = false;
     727    if (RT_SUCCESS(rc))
     728        fNoProxy = rtHttpUrlInNoProxyList(pszUrl, RTStrStrip(pszNoProxy));
    727729    RTMemTmpFree(pszNoProxyFree);
    728730    if (!fNoProxy)
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette