aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lluserauth.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:50 -0500
committerJacek Antonelli2008-08-15 23:45:50 -0500
commit2a4dea528f670b9bb1f77ef27a8a1dd16603d114 (patch)
tree95c68e362703c9099d571ecbdc6142b1cda1e005 /linden/indra/newview/lluserauth.cpp
parentSecond Life viewer sources 1.20.6 (diff)
downloadmeta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.zip
meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.gz
meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.bz2
meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.xz
Second Life viewer sources 1.20.7
Diffstat (limited to 'linden/indra/newview/lluserauth.cpp')
-rw-r--r--linden/indra/newview/lluserauth.cpp20
1 files changed, 11 insertions, 9 deletions
diff --git a/linden/indra/newview/lluserauth.cpp b/linden/indra/newview/lluserauth.cpp
index 9e040d2..6c8801a 100644
--- a/linden/indra/newview/lluserauth.cpp
+++ b/linden/indra/newview/lluserauth.cpp
@@ -103,14 +103,15 @@ void LLUserAuth::authenticate(
103 const std::string& hashed_mac, 103 const std::string& hashed_mac,
104 const std::string& hashed_volume_serial) 104 const std::string& hashed_volume_serial)
105{ 105{
106 llinfos << "Authenticating: " << firstname << " " << lastname << ", " 106 LL_INFOS2("AppInit", "Authentication") << "Authenticating: " << firstname << " " << lastname << ", "
107 << /*dpasswd.c_str() <<*/ llendl; 107 << /*dpasswd.c_str() <<*/ LL_ENDL;
108 std::ostringstream option_str; 108 std::ostringstream option_str;
109 option_str << "Options: "; 109 option_str << "Options: ";
110 std::ostream_iterator<const char*> appender(option_str, ", "); 110 std::ostream_iterator<const char*> appender(option_str, ", ");
111 std::copy(requested_options.begin(), requested_options.end(), appender); 111 std::copy(requested_options.begin(), requested_options.end(), appender);
112 option_str << "END"; 112 option_str << "END";
113 llinfos << option_str.str().c_str() << llendl; 113
114 LL_INFOS2("AppInit", "Authentication") << option_str.str().c_str() << LL_ENDL;
114 115
115 mAuthResponse = E_NO_RESPONSE_YET; 116 mAuthResponse = E_NO_RESPONSE_YET;
116 //mDownloadTimer.reset(); 117 //mDownloadTimer.reset();
@@ -163,7 +164,7 @@ void LLUserAuth::authenticate(
163 164
164 XMLRPC_RequestFree(request, 1); 165 XMLRPC_RequestFree(request, 1);
165 166
166 llinfos << "LLUserAuth::authenticate: uri=" << auth_uri << llendl; 167 LL_INFOS2("AppInit", "Authentication") << "LLUserAuth::authenticate: uri=" << auth_uri << LL_ENDL;
167} 168}
168 169
169 170
@@ -188,14 +189,15 @@ void LLUserAuth::authenticate(
188{ 189{
189 std::string dpasswd("$1$"); 190 std::string dpasswd("$1$");
190 dpasswd.append(passwd); 191 dpasswd.append(passwd);
191 llinfos << "Authenticating: " << firstname << " " << lastname << ", " 192 LL_INFOS2("AppInit", "Authentication") << "Authenticating: " << firstname << " " << lastname << ", "
192 << /*dpasswd.c_str() <<*/ llendl; 193 << /*dpasswd.c_str() <<*/ LL_ENDL;
193 std::ostringstream option_str; 194 std::ostringstream option_str;
194 option_str << "Options: "; 195 option_str << "Options: ";
195 std::ostream_iterator<const char*> appender(option_str, ", "); 196 std::ostream_iterator<const char*> appender(option_str, ", ");
196 std::copy(requested_options.begin(), requested_options.end(), appender); 197 std::copy(requested_options.begin(), requested_options.end(), appender);
197 option_str << "END"; 198 option_str << "END";
198 llinfos << option_str.str().c_str() << llendl; 199
200 LL_INFOS2("AppInit", "Authentication") << option_str.str().c_str() << LL_ENDL;
199 201
200 mAuthResponse = E_NO_RESPONSE_YET; 202 mAuthResponse = E_NO_RESPONSE_YET;
201 //mDownloadTimer.reset(); 203 //mDownloadTimer.reset();
@@ -248,7 +250,7 @@ void LLUserAuth::authenticate(
248 250
249 XMLRPC_RequestFree(request, 1); 251 XMLRPC_RequestFree(request, 1);
250 252
251 llinfos << "LLUserAuth::authenticate: uri=" << auth_uri << llendl; 253 LL_INFOS2("AppInit", "Authentication") << "LLUserAuth::authenticate: uri=" << auth_uri << LL_ENDL;
252} 254}
253 255
254 256
@@ -300,7 +302,7 @@ LLUserAuth::UserAuthcode LLUserAuth::authResponse()
300 break; 302 break;
301 } 303 }
302 304
303 llinfos << "Processed response: " << result << llendl; 305 LL_INFOS2("AppInit", "Authentication") << "Processed response: " << result << LL_ENDL;
304 306
305 delete mTransaction; 307 delete mTransaction;
306 mTransaction = NULL; 308 mTransaction = NULL;