Sl-18124 - fixed establish_time stat

meow-7.2.2
Brad Payne (Vir Linden) 2022-09-09 15:49:35 +01:00 committed by Andrey Lihatskiy
parent 0a6c317f11
commit 281ebb322e
1 changed files with 1 additions and 1 deletions

View File

@ -1243,8 +1243,8 @@ bool LLVivoxVoiceClient::establishVoiceConnection()
if (result.has("connector"))
{
LLVoiceVivoxStats::getInstance()->establishAttemptEnd(connected);
connected = LLSD::Boolean(result["connector"]);
LLVoiceVivoxStats::getInstance()->establishAttemptEnd(connected);
if (!connected)
{
if (result.has("retry") && ++retries <= CONNECT_RETRY_MAX && !sShuttingDown)