diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Server/Handlers/Friends/FriendsServerPostHandler.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Server/Handlers/Friends/FriendsServerPostHandler.cs b/OpenSim/Server/Handlers/Friends/FriendsServerPostHandler.cs index 3aab30b..d6668ab 100644 --- a/OpenSim/Server/Handlers/Friends/FriendsServerPostHandler.cs +++ b/OpenSim/Server/Handlers/Friends/FriendsServerPostHandler.cs | |||
@@ -61,9 +61,9 @@ namespace OpenSim.Server.Handlers.Friends | |||
61 | protected override byte[] ProcessRequest(string path, Stream requestData, | 61 | protected override byte[] ProcessRequest(string path, Stream requestData, |
62 | IOSHttpRequest httpRequest, IOSHttpResponse httpResponse) | 62 | IOSHttpRequest httpRequest, IOSHttpResponse httpResponse) |
63 | { | 63 | { |
64 | StreamReader sr = new StreamReader(requestData); | 64 | string body; |
65 | string body = sr.ReadToEnd(); | 65 | using(StreamReader sr = new StreamReader(requestData)) |
66 | sr.Close(); | 66 | body = sr.ReadToEnd(); |
67 | body = body.Trim(); | 67 | body = body.Trim(); |
68 | 68 | ||
69 | //m_log.DebugFormat("[XXX]: query String: {0}", body); | 69 | //m_log.DebugFormat("[XXX]: query String: {0}", body); |