aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/DBGuids.cs
diff options
context:
space:
mode:
authorMelanie2010-05-18 23:22:30 +0100
committerMelanie2010-05-18 23:22:30 +0100
commitcaf61ab7d814232d3da87e21e409fd9e3916d5c1 (patch)
tree6fb9d795d64b3ab150d4c6ac0d660682458d178b /OpenSim/Data/DBGuids.cs
parentRevert a revert? Am i mad? Don't answer that....! (diff)
downloadopensim-SC_OLD-caf61ab7d814232d3da87e21e409fd9e3916d5c1.zip
opensim-SC_OLD-caf61ab7d814232d3da87e21e409fd9e3916d5c1.tar.gz
opensim-SC_OLD-caf61ab7d814232d3da87e21e409fd9e3916d5c1.tar.bz2
opensim-SC_OLD-caf61ab7d814232d3da87e21e409fd9e3916d5c1.tar.xz
Binary Guids are 16 chars long. Fix parser.
Diffstat (limited to 'OpenSim/Data/DBGuids.cs')
-rw-r--r--OpenSim/Data/DBGuids.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Data/DBGuids.cs b/OpenSim/Data/DBGuids.cs
index 1a13e06..fb6832b 100644
--- a/OpenSim/Data/DBGuids.cs
+++ b/OpenSim/Data/DBGuids.cs
@@ -27,7 +27,7 @@ namespace OpenSim.Data
27 { 27 {
28 if (((byte[])id).Length == 0) 28 if (((byte[])id).Length == 0)
29 return UUID.Zero; 29 return UUID.Zero;
30 else if (((byte[])id).Length == 36) 30 else if (((byte[])id).Length == 16)
31 return new UUID((byte[])id, 0); 31 return new UUID((byte[])id, 0);
32 } 32 }
33 else if (id.GetType() == typeof(string)) 33 else if (id.GetType() == typeof(string))