diff options
author | UbitUmarov | 2016-08-24 01:40:35 +0100 |
---|---|---|
committer | UbitUmarov | 2016-08-24 01:40:35 +0100 |
commit | 3c30223c777beae0c8ff289813759a21b7dec501 (patch) | |
tree | 4803f7e7a04e0daa6a72f432cbe9012cc4f48c51 /OpenSim/Services/Connectors | |
parent | potencial null ref (diff) | |
download | opensim-SC-3c30223c777beae0c8ff289813759a21b7dec501.zip opensim-SC-3c30223c777beae0c8ff289813759a21b7dec501.tar.gz opensim-SC-3c30223c777beae0c8ff289813759a21b7dec501.tar.bz2 opensim-SC-3c30223c777beae0c8ff289813759a21b7dec501.tar.xz |
potencial null ref
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs b/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs index 3a0d197..8e1bf37 100644 --- a/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs +++ b/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs | |||
@@ -106,17 +106,18 @@ namespace OpenSim.Services.Connectors.Simulation | |||
106 | 106 | ||
107 | public bool CreateAgent(GridRegion source, GridRegion destination, AgentCircuitData aCircuit, uint flags, EntityTransferContext ctx, out string myipaddress, out string reason) | 107 | public bool CreateAgent(GridRegion source, GridRegion destination, AgentCircuitData aCircuit, uint flags, EntityTransferContext ctx, out string myipaddress, out string reason) |
108 | { | 108 | { |
109 | m_log.DebugFormat("[REMOTE SIMULATION CONNECTOR]: Creating agent at {0}", destination.ServerURI); | ||
110 | reason = String.Empty; | 109 | reason = String.Empty; |
111 | myipaddress = String.Empty; | 110 | myipaddress = String.Empty; |
112 | 111 | ||
113 | if (destination == null) | 112 | if (destination == null) |
114 | { | 113 | { |
115 | reason = "Destination not found"; | 114 | reason = "Destination not found"; |
116 | m_log.Debug("[REMOTE SIMULATION CONNECTOR]: Given destination is null"); | 115 | m_log.Debug("[REMOTE SIMULATION CONNECTOR]: Create agent destination is null"); |
117 | return false; | 116 | return false; |
118 | } | 117 | } |
119 | 118 | ||
119 | m_log.DebugFormat("[REMOTE SIMULATION CONNECTOR]: Creating agent at {0}", destination.ServerURI); | ||
120 | |||
120 | string uri = destination.ServerURI + AgentPath() + aCircuit.AgentID + "/"; | 121 | string uri = destination.ServerURI + AgentPath() + aCircuit.AgentID + "/"; |
121 | 122 | ||
122 | try | 123 | try |