Harmonize log methods by removing trailing \n.
This commit is contained in:
@@ -32,7 +32,7 @@ int main(int argc, char *const argv[]) {
|
||||
|
||||
xmlNodePtr tests = xmlDocGetRootElement( xmlParseFile( "mpw_tests.xml" ) );
|
||||
if (!tests) {
|
||||
ftl( "Couldn't find test case: mpw_tests.xml\n" );
|
||||
ftl( "Couldn't find test case: mpw_tests.xml" );
|
||||
abort();
|
||||
}
|
||||
|
||||
@@ -60,7 +60,7 @@ int main(int argc, char *const argv[]) {
|
||||
do {
|
||||
fprintf( stdout, "test case %s... ", id );
|
||||
if (!xmlStrlen( result )) {
|
||||
fprintf( stdout, "abstract.\n" );
|
||||
fprintf( stdout, "abstract." );
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -68,7 +68,7 @@ int main(int argc, char *const argv[]) {
|
||||
MPMasterKey masterKey = mpw_masterKey(
|
||||
(char *)fullName, (char *)masterPassword, algorithm );
|
||||
if (!masterKey) {
|
||||
ftl( "Couldn't derive master key.\n" );
|
||||
ftl( "Couldn't derive master key." );
|
||||
abort();
|
||||
}
|
||||
|
||||
@@ -85,7 +85,7 @@ int main(int argc, char *const argv[]) {
|
||||
masterKey, (char *)siteName, siteCounter, keyPurpose, (char *)keyContext, resultType, NULL, algorithm );
|
||||
mpw_free( &masterKey, MPMasterKeySize );
|
||||
if (!testResult) {
|
||||
ftl( "Couldn't derive site password.\n" );
|
||||
ftl( "Couldn't derive site password." );
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user