aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpanellogin.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:54 -0500
committerJacek Antonelli2008-08-15 23:45:54 -0500
commitd0b03a62fd799317d5da0bd56615739ce3b5b052 (patch)
tree8bc79bbbb52e18294f62810d9fa66ce136f90e2d /linden/indra/newview/llpanellogin.cpp
parentSecond Life viewer sources 1.20.8 (diff)
downloadmeta-impy-d0b03a62fd799317d5da0bd56615739ce3b5b052.zip
meta-impy-d0b03a62fd799317d5da0bd56615739ce3b5b052.tar.gz
meta-impy-d0b03a62fd799317d5da0bd56615739ce3b5b052.tar.bz2
meta-impy-d0b03a62fd799317d5da0bd56615739ce3b5b052.tar.xz
Second Life viewer sources 1.20.9
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llpanellogin.cpp21
1 files changed, 16 insertions, 5 deletions
diff --git a/linden/indra/newview/llpanellogin.cpp b/linden/indra/newview/llpanellogin.cpp
index 334e9f4..d8da3c0 100644
--- a/linden/indra/newview/llpanellogin.cpp
+++ b/linden/indra/newview/llpanellogin.cpp
@@ -290,7 +290,15 @@ class LLIamHereLogin : public LLHTTPClient::Responder
290 { 290 {
291 mParent = parentIn; 291 mParent = parentIn;
292 }; 292 };
293 293
294 // We don't actually expect LLSD back, so need to override completedRaw
295 virtual void completedRaw(U32 status, const std::string& reason,
296 const LLChannelDescriptors& channels,
297 const LLIOPipe::buffer_ptr_t& buffer)
298 {
299 completed(status, reason, LLSD()); // will call result() or error()
300 }
301
294 virtual void result( const LLSD& content ) 302 virtual void result( const LLSD& content )
295 { 303 {
296 if ( mParent ) 304 if ( mParent )
@@ -939,10 +947,13 @@ void LLPanelLogin::loadLoginPage()
939 947
940 gViewerWindow->setMenuBackgroundColor(false, !LLViewerLogin::getInstance()->isInProductionGrid()); 948 gViewerWindow->setMenuBackgroundColor(false, !LLViewerLogin::getInstance()->isInProductionGrid());
941 gLoginMenuBarView->setBackgroundColor(gMenuBarView->getBackgroundColor()); 949 gLoginMenuBarView->setBackgroundColor(gMenuBarView->getBackgroundColor());
942 950
943 char* curl_grid = curl_escape(grid.c_str(), 0); 951 if (!grid.empty())
944 oStr << "&grid=" << curl_grid; 952 {
945 curl_free(curl_grid); 953 char* curl_grid = curl_escape(grid.c_str(), 0);
954 oStr << "&grid=" << curl_grid;
955 curl_free(curl_grid);
956 }
946 957
947#if USE_VIEWER_AUTH 958#if USE_VIEWER_AUTH
948 LLURLSimString::sInstance.parse(); 959 LLURLSimString::sInstance.parse();