diff options
author | Melanie | 2010-05-18 23:22:30 +0100 |
---|---|---|
committer | Melanie | 2010-05-18 23:22:30 +0100 |
commit | caf61ab7d814232d3da87e21e409fd9e3916d5c1 (patch) | |
tree | 6fb9d795d64b3ab150d4c6ac0d660682458d178b /OpenSim/Data/DBGuids.cs | |
parent | Revert a revert? Am i mad? Don't answer that....! (diff) | |
download | opensim-SC-caf61ab7d814232d3da87e21e409fd9e3916d5c1.zip opensim-SC-caf61ab7d814232d3da87e21e409fd9e3916d5c1.tar.gz opensim-SC-caf61ab7d814232d3da87e21e409fd9e3916d5c1.tar.bz2 opensim-SC-caf61ab7d814232d3da87e21e409fd9e3916d5c1.tar.xz |
Binary Guids are 16 chars long. Fix parser.
Diffstat (limited to 'OpenSim/Data/DBGuids.cs')
-rw-r--r-- | OpenSim/Data/DBGuids.cs | 2 |
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)) |