Some cleanup. Using gAgentAvatarp in many places. Incl other misc small changes.

This commit is contained in:
Shyotl
2011-10-03 22:45:13 -05:00
parent 84a301c81a
commit 30a95e7f45
13 changed files with 97 additions and 89 deletions

View File

@@ -211,9 +211,9 @@ void LLURLRequest::useProxy(bool use_proxy)
}
}
lldebugs << "use_proxy = " << (use_proxy?'Y':'N') << ", env_proxy = \"" << env_proxy << "\"" << llendl;
LL_DEBUGS("Proxy") << "use_proxy = " << (use_proxy?'Y':'N') << ", env_proxy = " << (!env_proxy.empty() ? env_proxy : "(null)") << LL_ENDL;
if (use_proxy)
if (use_proxy && !env_proxy.empty())
{
mDetail->mCurlRequest->setoptString(CURLOPT_PROXY, env_proxy);
}