Bug 172719: Clean debug out.

This commit is contained in:
Jim Norman
2006-05-04 19:37:46 +00:00
parent 7ee344037a
commit cbd8ab4be0
3 changed files with 27 additions and 11 deletions

View File

@@ -901,7 +901,7 @@ namespace Novell.CASA
catch(Exception e)
{
rcode = -803;
Console.WriteLine(e.ToString());
//Console.WriteLine(e.ToString());
}
}
}
@@ -1105,7 +1105,7 @@ namespace Novell.CASA
}
catch (Exception e)
{
Console.WriteLine(e.ToString());
//Console.WriteLine(e.ToString());
Marshal.FreeHGlobal(pCredential);
throw new miCasaException(-803);
}
@@ -1277,7 +1277,7 @@ namespace Novell.CASA
}
catch(Exception e)
{
Console.WriteLine(e.ToString());
//Console.WriteLine(e.ToString());
}
return rcode;
}
@@ -1309,7 +1309,7 @@ namespace Novell.CASA
}
catch (Exception e)
{
Console.WriteLine(e.ToString());
//Console.WriteLine(e.ToString());
}
@@ -1408,7 +1408,7 @@ namespace Novell.CASA
}
catch(Exception e)
{
Console.WriteLine(e.ToString());
//Console.WriteLine(e.ToString());
keyList = null;
}
return keyList;
@@ -1438,7 +1438,7 @@ namespace Novell.CASA
catch (Exception e)
{
// rcode = -803;
Console.WriteLine(e.ToString());
//Console.WriteLine(e.ToString());
}
}
return value;
@@ -1488,6 +1488,17 @@ namespace Novell.CASA
else
return true;
}
internal static bool ValidateDesktopPwd(string sPassword)
{
string sResult = (string)MiCasa.Communication.MiCasaRequestReply.Send(MiCasaRequestReply.VERB_VALIDATE_DESKTOP_PWD, null, null, null, sPassword);
if (sResult.Equals("true"))
return true;
else
return false;
}
}
}