aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Addons/Groups/Remote
diff options
context:
space:
mode:
authorUbitUmarov2017-05-07 04:21:33 +0100
committerUbitUmarov2017-05-07 04:21:33 +0100
commit11f6d28a0631d7bf96eed220dc58ab0824fb8f57 (patch)
treec2c08d0908e332983284299a6739c8bc0c136078 /OpenSim/Addons/Groups/Remote
parent merge fix (diff)
parentlet StreamReader be in using statements (diff)
downloadopensim-SC-11f6d28a0631d7bf96eed220dc58ab0824fb8f57.zip
opensim-SC-11f6d28a0631d7bf96eed220dc58ab0824fb8f57.tar.gz
opensim-SC-11f6d28a0631d7bf96eed220dc58ab0824fb8f57.tar.bz2
opensim-SC-11f6d28a0631d7bf96eed220dc58ab0824fb8f57.tar.xz
fix merge
Diffstat (limited to 'OpenSim/Addons/Groups/Remote')
-rw-r--r--OpenSim/Addons/Groups/Remote/GroupsServiceRobustConnector.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Addons/Groups/Remote/GroupsServiceRobustConnector.cs b/OpenSim/Addons/Groups/Remote/GroupsServiceRobustConnector.cs
index 598e7a5..8502bb5 100644
--- a/OpenSim/Addons/Groups/Remote/GroupsServiceRobustConnector.cs
+++ b/OpenSim/Addons/Groups/Remote/GroupsServiceRobustConnector.cs
@@ -91,9 +91,10 @@ namespace OpenSim.Groups
91 protected override byte[] ProcessRequest(string path, Stream requestData, 91 protected override byte[] ProcessRequest(string path, Stream requestData,
92 IOSHttpRequest httpRequest, IOSHttpResponse httpResponse) 92 IOSHttpRequest httpRequest, IOSHttpResponse httpResponse)
93 { 93 {
94 StreamReader sr = new StreamReader(requestData); 94 string body;
95 string body = sr.ReadToEnd(); 95 using(StreamReader sr = new StreamReader(requestData))
96 sr.Close(); 96 body = sr.ReadToEnd();
97
97 body = body.Trim(); 98 body = body.Trim();
98 99
99 //m_log.DebugFormat("[XXX]: query String: {0}", body); 100 //m_log.DebugFormat("[XXX]: query String: {0}", body);