aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server/Handlers/Friends/FriendsServerPostHandler.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Server/Handlers/Friends/FriendsServerPostHandler.cs')
-rw-r--r--OpenSim/Server/Handlers/Friends/FriendsServerPostHandler.cs9
1 files changed, 4 insertions, 5 deletions
diff --git a/OpenSim/Server/Handlers/Friends/FriendsServerPostHandler.cs b/OpenSim/Server/Handlers/Friends/FriendsServerPostHandler.cs
index 59420f5..47a8558 100644
--- a/OpenSim/Server/Handlers/Friends/FriendsServerPostHandler.cs
+++ b/OpenSim/Server/Handlers/Friends/FriendsServerPostHandler.cs
@@ -95,7 +95,8 @@ namespace OpenSim.Server.Handlers.Friends
95 return DeleteFriendString(request); 95 return DeleteFriendString(request);
96 96
97 } 97 }
98 m_log.DebugFormat("[FRIENDS HANDLER]: unknown method {0} request {1}", method.Length, method); 98
99 m_log.DebugFormat("[FRIENDS HANDLER]: unknown method request {0}", method);
99 } 100 }
100 catch (Exception e) 101 catch (Exception e)
101 { 102 {
@@ -103,7 +104,6 @@ namespace OpenSim.Server.Handlers.Friends
103 } 104 }
104 105
105 return FailureResult(); 106 return FailureResult();
106
107 } 107 }
108 108
109 #region Method-specific handlers 109 #region Method-specific handlers
@@ -152,10 +152,9 @@ namespace OpenSim.Server.Handlers.Friends
152 } 152 }
153 153
154 string xmlString = ServerUtils.BuildXmlResponse(result); 154 string xmlString = ServerUtils.BuildXmlResponse(result);
155 //m_log.DebugFormat("[FRIENDS HANDLER]: resp string: {0}", xmlString);
156 UTF8Encoding encoding = new UTF8Encoding();
157 return encoding.GetBytes(xmlString);
158 155
156 //m_log.DebugFormat("[FRIENDS HANDLER]: resp string: {0}", xmlString);
157 return Util.UTF8NoBomEncoding.GetBytes(xmlString);
159 } 158 }
160 159
161 byte[] StoreFriend(Dictionary<string, object> request) 160 byte[] StoreFriend(Dictionary<string, object> request)