Comment out login parameters debug output accidentally included with c4b2d24

0.7.4.1
Justin Clark-Casey (justincc) 2012-03-22 23:31:41 +00:00
parent c1d064e1ca
commit 15c2499ccd
1 changed files with 13 additions and 11 deletions

View File

@ -73,17 +73,19 @@ namespace OpenSim.Server.Handlers.Login
if (requestData != null) if (requestData != null)
{ {
foreach (string key in requestData.Keys) // Debug code to show exactly what login parameters the viewer is sending us.
{ // TODO: Extract into a method that can be generally applied if one doesn't already exist.
object value = requestData[key]; // foreach (string key in requestData.Keys)
Console.WriteLine("{0}:{1}", key, value); // {
if (value is ArrayList) // object value = requestData[key];
{ // Console.WriteLine("{0}:{1}", key, value);
ICollection col = value as ICollection; // if (value is ArrayList)
foreach (object item in col) // {
Console.WriteLine(" {0}", item); // ICollection col = value as ICollection;
} // foreach (object item in col)
} // Console.WriteLine(" {0}", item);
// }
// }
if (requestData.ContainsKey("first") && requestData["first"] != null && if (requestData.ContainsKey("first") && requestData["first"] != null &&
requestData.ContainsKey("last") && requestData["last"] != null && ( requestData.ContainsKey("last") && requestData["last"] != null && (