aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDiva Canto2011-04-29 08:01:44 -0700
committerDiva Canto2011-04-29 08:01:44 -0700
commite462b926acc2810303d4ce5fc00f494f4765a7ad (patch)
treecb3558dfbfda168491a78a17ec80ab12caf78683
parentMerge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff)
downloadopensim-SC-e462b926acc2810303d4ce5fc00f494f4765a7ad.zip
opensim-SC-e462b926acc2810303d4ce5fc00f494f4765a7ad.tar.gz
opensim-SC-e462b926acc2810303d4ce5fc00f494f4765a7ad.tar.bz2
opensim-SC-e462b926acc2810303d4ce5fc00f494f4765a7ad.tar.xz
Minor improvement in version checking (Simulation service)
-rw-r--r--OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs b/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs
index 415b4f0..7545db8 100644
--- a/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs
+++ b/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs
@@ -279,7 +279,7 @@ namespace OpenSim.Services.Connectors.Simulation
279 279
280 bool success = result["success"].AsBoolean(); 280 bool success = result["success"].AsBoolean();
281 reason = data["reason"].AsString(); 281 reason = data["reason"].AsString();
282 if (data["version"] != null) 282 if (data["version"] != null && data["version"].AsString() != string.Empty)
283 version = data["version"].AsString(); 283 version = data["version"].AsString();
284 284
285 m_log.DebugFormat("[REMOTE SIMULATION CONNECTOR]: QueryAccess to {0} returned {1} version {2} ({3})", uri, success, version, data["version"].AsString()); 285 m_log.DebugFormat("[REMOTE SIMULATION CONNECTOR]: QueryAccess to {0} returned {1} version {2} ({3})", uri, success, version, data["version"].AsString());