Merge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/careminster into careminster-presence-refactor

avinationmerge
Melanie 2010-10-24 17:21:16 +02:00
commit 2f0a3391ee
1 changed files with 11 additions and 2 deletions

View File

@ -10138,8 +10138,17 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
if (str2 == String.Empty) if (str2 == String.Empty)
return str1; return str1;
byte[] data1 = Convert.FromBase64String(str1); byte[] data1;
byte[] data2 = Convert.FromBase64String(str2); byte[] data2;
try
{
data1 = Convert.FromBase64String(str1);
data2 = Convert.FromBase64String(str2);
}
catch (Exception)
{
return new LSL_String(String.Empty);
}
byte[] d2 = new Byte[data1.Length]; byte[] d2 = new Byte[data1.Length];
int pos = 0; int pos = 0;