From 5d77625e9ac4ce1fc7b8fd67aabf563678ef0d5d Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Sun, 25 May 2008 23:27:38 +0000 Subject: Update svn properties. Formatting cleanup. --- OpenSim/Grid/UserServer/UserLoginService.cs | 4 +++- OpenSim/Grid/UserServer/UserManager.cs | 9 ++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'OpenSim/Grid/UserServer') diff --git a/OpenSim/Grid/UserServer/UserLoginService.cs b/OpenSim/Grid/UserServer/UserLoginService.cs index 3c9d650..628c471 100644 --- a/OpenSim/Grid/UserServer/UserLoginService.cs +++ b/OpenSim/Grid/UserServer/UserLoginService.cs @@ -119,7 +119,9 @@ namespace OpenSim.Grid.UserServer RegionProfileData.RequestSimProfileData( theUser.HomeRegion, m_config.GridServerURL, m_config.GridSendKey, m_config.GridRecvKey); - } else { + } + else + { start_x = Convert.ToInt32(startLocationRequestParsed[1]); start_y = Convert.ToInt32(startLocationRequestParsed[2]); start_z = Convert.ToInt32(startLocationRequestParsed[3]); diff --git a/OpenSim/Grid/UserServer/UserManager.cs b/OpenSim/Grid/UserServer/UserManager.cs index 706f461..a82505d 100644 --- a/OpenSim/Grid/UserServer/UserManager.cs +++ b/OpenSim/Grid/UserServer/UserManager.cs @@ -57,7 +57,7 @@ namespace OpenSim.Grid.UserServer /// HTTP request header object /// HTTP response header object /// Success "OK" else error - public string RestDeleteUserSessionMethod(string request, string path, string param, + public string RestDeleteUserSessionMethod(string request, string path, string param, OSHttpRequest httpRequest, OSHttpResponse httpResponse) { // TODO! Important! @@ -260,11 +260,14 @@ namespace OpenSim.Grid.UserServer if (requestData.Contains("owner")) { appearance = GetUserAppearance(new LLUUID((string)requestData["owner"])); - if (appearance == null) { + if (appearance == null) + { responseData = new Hashtable(); responseData["error_type"] = "no appearance"; responseData["error_desc"] = "There was no appearance found for this avatar"; - } else { + } + else + { responseData = appearance.ToHashTable(); } } -- cgit v1.1