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:
parent
44b3772d4d
commit
0c72b33d06
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
|
|||||||
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user