From bea2569b6d3bdd774772bbaba1859396f18aefcf Mon Sep 17 00:00:00 2001 From: Freaky Tech Date: Mon, 2 Mar 2015 22:03:26 +0100 Subject: [PATCH] corrected handling when XML parsing in Presence Connector fails Signed-off-by: BlueWall --- .../Services/Connectors/Presence/PresenceServicesConnector.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/OpenSim/Services/Connectors/Presence/PresenceServicesConnector.cs b/OpenSim/Services/Connectors/Presence/PresenceServicesConnector.cs index aade7145c8..63f3f37047 100644 --- a/OpenSim/Services/Connectors/Presence/PresenceServicesConnector.cs +++ b/OpenSim/Services/Connectors/Presence/PresenceServicesConnector.cs @@ -301,6 +301,7 @@ namespace OpenSim.Services.Connectors catch (Exception e) { m_log.DebugFormat("[PRESENCE CONNECTOR]: Exception when contacting presence server at {0}: {1}", uri, e.Message); + return null; } Dictionary replyData = ServerUtils.ParseXmlResponse(reply);