Add a printf to the failure case. Trivial change, and no one but me is running this anyway.

git-svn-id: svn://10.0.0.236/trunk@58176 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
akkana%netscape.com 2000-01-19 00:24:46 +00:00
parent 44b3772d4d
commit 0c72b33d06
2 changed files with 10 additions and 0 deletions

View File

@ -74,7 +74,12 @@ Compare(nsString& str, nsString& aFileName)
if (str == inString) if (str == inString)
return 0; return 0;
else else
{
char* cstr = str.ToNewCString();
printf("Comparison failed:\n-----\n%s\n-----\n", cstr);
Recycle(cstr);
return 1; return 1;
}
} }
//---------------------------------------------------------------------- //----------------------------------------------------------------------

View File

@ -74,7 +74,12 @@ Compare(nsString& str, nsString& aFileName)
if (str == inString) if (str == inString)
return 0; return 0;
else else
{
char* cstr = str.ToNewCString();
printf("Comparison failed:\n-----\n%s\n-----\n", cstr);
Recycle(cstr);
return 1; return 1;
}
} }
//---------------------------------------------------------------------- //----------------------------------------------------------------------