diff options
Diffstat (limited to 'OpenSim/Framework/WebUtil.cs')
-rw-r--r-- | OpenSim/Framework/WebUtil.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/WebUtil.cs b/OpenSim/Framework/WebUtil.cs index 7c7e19d..9c08e9d 100644 --- a/OpenSim/Framework/WebUtil.cs +++ b/OpenSim/Framework/WebUtil.cs | |||
@@ -944,7 +944,7 @@ namespace OpenSim.Framework | |||
944 | { | 944 | { |
945 | using (WebResponse resp = request.GetResponse()) | 945 | using (WebResponse resp = request.GetResponse()) |
946 | { | 946 | { |
947 | if (resp.ContentLength > 0) | 947 | if (resp.ContentLength != 0) |
948 | { | 948 | { |
949 | Stream respStream = resp.GetResponseStream(); | 949 | Stream respStream = resp.GetResponseStream(); |
950 | XmlSerializer deserializer = new XmlSerializer(typeof(TResponse)); | 950 | XmlSerializer deserializer = new XmlSerializer(typeof(TResponse)); |