diff options
| author | Leslie Linden <none@none> | 2011-06-08 13:41:40 -0700 |
|---|---|---|
| committer | Leslie Linden <none@none> | 2011-06-08 13:41:40 -0700 |
| commit | de78d17e912b7e2a4c563a7a428f11cce33644c0 (patch) | |
| tree | 6c415389f180f6a5d879b050670fd6cd3d987229 /indra/newview/llpanellogin.cpp | |
| parent | 888b39c283e53fd128778e70e231bcb6053de4b8 (diff) | |
| parent | 1361eeae4e4538c175a32d48246897c4659cc26c (diff) | |
Merge from viewer-experience
Diffstat (limited to 'indra/newview/llpanellogin.cpp')
| -rw-r--r-- | indra/newview/llpanellogin.cpp | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/indra/newview/llpanellogin.cpp b/indra/newview/llpanellogin.cpp index 27f341b4f6..d0810d0772 100644 --- a/indra/newview/llpanellogin.cpp +++ b/indra/newview/llpanellogin.cpp @@ -34,6 +34,7 @@ #include "llmd5.h" #include "llsecondlifeurls.h" #include "v4color.h" +#include "llversionviewer.h" #include "llappviewer.h" #include "llbutton.h" @@ -747,12 +748,20 @@ void LLPanelLogin::loadLoginPage() LLVersionInfo::getShortVersion().c_str(), LLVersionInfo::getBuild()); - char* curl_channel = curl_escape(LLVersionInfo::getChannel().c_str(), 0); + char* curl_channel ; char* curl_version = curl_escape(version.c_str(), 0); + if(strcmp(LLVersionInfo::getChannel().c_str(), LL_CHANNEL)) + { + curl_channel = curl_escape(LLVersionInfo::getChannel().c_str(), 0); + } + else //if LL_CHANNEL, direct it to "Second Life Beta Viewer". + { + curl_channel = curl_escape("Second Life Beta Viewer", 0); + } oStr << "&channel=" << curl_channel; oStr << "&version=" << curl_version; - + curl_free(curl_channel); curl_free(curl_version); |
