aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden
diff options
context:
space:
mode:
Diffstat (limited to 'linden')
-rw-r--r--linden/indra/newview/hippoGridManager.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/linden/indra/newview/hippoGridManager.cpp b/linden/indra/newview/hippoGridManager.cpp
index 60c33e8..10d115a 100644
--- a/linden/indra/newview/hippoGridManager.cpp
+++ b/linden/indra/newview/hippoGridManager.cpp
@@ -402,8 +402,14 @@ bool HippoGridInfo::retrieveGridInfo()
402{ 402{
403 if (mLoginUri == "") return false; 403 if (mLoginUri == "") return false;
404 404
405 // If last character in uri is not "/"
406 std::string uri = mLoginUri;
407 if (uri.compare(uri.length()-1, 1, "/") != 0)
408 {
409 uri += '/';
410 }
405 std::string reply; 411 std::string reply;
406 int result = HippoRestRequest::getBlocking(mLoginUri + "get_grid_info", &reply); 412 int result = HippoRestRequest::getBlocking(uri + "get_grid_info", &reply);
407 if (result != 200) return false; 413 if (result != 200) return false;
408 414
409 llinfos << "Received: " << reply << llendl; 415 llinfos << "Received: " << reply << llendl;