diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp index 5781398faae49b54764aa6eaee9a6135d8f2fd9c..ac320ba76159be1e83d089fa1dbdd699639a7bc6 100644 --- a/indra/newview/llstartup.cpp +++ b/indra/newview/llstartup.cpp @@ -2945,7 +2945,7 @@ bool process_login_success_response() text = response["circuit_code"].asString(); if(!text.empty()) { - gMessageSystem->mOurCircuitCode = strtoult(ext.c_str(), NULL, 10); + gMessageSystem->mOurCircuitCode = strtoul(text.c_str(), NULL, 10); } std::string sim_ip_str = response["sim_ip"]; std::string sim_port_str = response["sim_port"];