diff options
| author | Roxie Linden <roxie@lindenlab.com> | 2010-04-02 02:06:04 -0700 | 
|---|---|---|
| committer | Roxie Linden <roxie@lindenlab.com> | 2010-04-02 02:06:04 -0700 | 
| commit | a7085418df1ada6e19b94b6df772ed21e663d119 (patch) | |
| tree | e660f0e1b310ac7ac53639c2789ddadae291903d /indra/newview | |
| parent | 9523c70f9dd3b2db21f6578bbb2b1da6873004ea (diff) | |
| parent | 947bd994885ec59c138a2e3835b940a22ebaea1e (diff) | |
Automated merge
Diffstat (limited to 'indra/newview')
| -rw-r--r-- | indra/newview/llcallfloater.cpp | 4 | ||||
| -rw-r--r-- | indra/newview/llviewercontrol.cpp | 5 | ||||
| -rw-r--r-- | indra/newview/llvoicevivox.cpp | 2 | ||||
| -rw-r--r-- | indra/newview/llxmlrpctransaction.cpp | 6 | 
4 files changed, 6 insertions, 11 deletions
| diff --git a/indra/newview/llcallfloater.cpp b/indra/newview/llcallfloater.cpp index 215f1b95aa..132e4f0933 100644 --- a/indra/newview/llcallfloater.cpp +++ b/indra/newview/llcallfloater.cpp @@ -131,9 +131,7 @@ LLCallFloater::~LLCallFloater()  	mAvatarListRefreshConnection.disconnect();  	mVoiceChannelStateChangeConnection.disconnect(); -	// Don't use LLVoiceClient::getInstance() here  -	// singleton MAY have already been destroyed. -	if(LLVoiceClient::getInstance()) +	if(LLVoiceClient::instanceExists())  	{  		LLVoiceClient::getInstance()->removeObserver(this);  	} diff --git a/indra/newview/llviewercontrol.cpp b/indra/newview/llviewercontrol.cpp index 8627f08891..ef6379948a 100644 --- a/indra/newview/llviewercontrol.cpp +++ b/indra/newview/llviewercontrol.cpp @@ -413,10 +413,7 @@ bool handleHighResSnapshotChanged(const LLSD& newvalue)  bool handleVoiceClientPrefsChanged(const LLSD& newvalue)  { -	if(LLVoiceClient::getInstance()) -	{ -		LLVoiceClient::getInstance()->updateSettings(); -	} +	LLVoiceClient::getInstance()->updateSettings();  	return true;  } diff --git a/indra/newview/llvoicevivox.cpp b/indra/newview/llvoicevivox.cpp index a7efc49c67..2f3bd567da 100644 --- a/indra/newview/llvoicevivox.cpp +++ b/indra/newview/llvoicevivox.cpp @@ -1,5 +1,5 @@   /**  - * @file LLVivoxVoiceClient.cpp + * @file llvoicevivox.cpp   * @brief Implementation of LLVivoxVoiceClient class which is the interface to the voice client process.   *   * $LicenseInfo:firstyear=2001&license=viewergpl$ diff --git a/indra/newview/llxmlrpctransaction.cpp b/indra/newview/llxmlrpctransaction.cpp index da61840761..d75c8ff1fb 100644 --- a/indra/newview/llxmlrpctransaction.cpp +++ b/indra/newview/llxmlrpctransaction.cpp @@ -325,10 +325,10 @@ void LLXMLRPCTransaction::Impl::init(XMLRPC_REQUEST request, bool useGzip)  //	mCurlRequest->setopt(CURLOPT_VERBOSE, 1); // usefull for debugging  	mCurlRequest->setopt(CURLOPT_NOSIGNAL, 1);  	mCurlRequest->setWriteCallback(&curlDownloadCallback, (void*)this); -	BOOL vefifySSLCert = !gSavedSettings.getBOOL("NoVerifySSLCert"); +	BOOL verifySSLCert = !gSavedSettings.getBOOL("NoVerifySSLCert");  	mCertStore = gSavedSettings.getString("CertStore"); -	mCurlRequest->setopt(CURLOPT_SSL_VERIFYPEER, vefifySSLCert); -	mCurlRequest->setopt(CURLOPT_SSL_VERIFYHOST, vefifySSLCert ? 2 : 0); +	mCurlRequest->setopt(CURLOPT_SSL_VERIFYPEER, verifySSLCert); +	mCurlRequest->setopt(CURLOPT_SSL_VERIFYHOST, verifySSLCert ? 2 : 0);  	// Be a little impatient about establishing connections.  	mCurlRequest->setopt(CURLOPT_CONNECTTIMEOUT, 40L);  	mCurlRequest->setSSLCtxCallback(_sslCtxFunction, (void *)this); | 
