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,8 +74,13 @@ Compare(nsString& str, nsString& aFileName)
|
||||
if (str == inString)
|
||||
return 0;
|
||||
else
|
||||
{
|
||||
char* cstr = str.ToNewCString();
|
||||
printf("Comparison failed:\n-----\n%s\n-----\n", cstr);
|
||||
Recycle(cstr);
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
// Convert html on stdin to either plaintext or (if toHTML) html
|
||||
|
||||
@ -74,8 +74,13 @@ Compare(nsString& str, nsString& aFileName)
|
||||
if (str == inString)
|
||||
return 0;
|
||||
else
|
||||
{
|
||||
char* cstr = str.ToNewCString();
|
||||
printf("Comparison failed:\n-----\n%s\n-----\n", cstr);
|
||||
Recycle(cstr);
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
// Convert html on stdin to either plaintext or (if toHTML) html
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user