fix permissions checks on some crossings

This commit is contained in:
UbitUmarov
2020-09-01 16:30:07 +01:00
parent a1239d2706
commit 323c0673c2
2 changed files with 3 additions and 13 deletions

View File

@@ -1114,8 +1114,7 @@ namespace OpenSim.Framework
{
if (resp.ContentLength != 0)
{
using (Stream respStream = resp.GetResponseStream())
using (StreamReader reader = new StreamReader(respStream))
using (StreamReader reader = new StreamReader(resp.GetResponseStream()))
respstring = reader.ReadToEnd();
}
}