From e89b77423fb1dbaa47dc77fb754f1af8eec0e6db Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Thu, 12 May 2011 21:09:08 -0700 Subject: Fix offline IMs here too. --- OpenSim/Framework/WebUtil.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { using (WebResponse resp = request.GetResponse()) { - if (resp.ContentLength > 0) + if (resp.ContentLength != 0) { Stream respStream = resp.GetResponseStream(); XmlSerializer deserializer = new XmlSerializer(typeof(TResponse)); -- cgit v1.1