[Box Backup-commit] COMMIT r1473 - box/chris/merge/lib/common
boxbackup-dev@fluffy.co.uk
boxbackup-dev@fluffy.co.uk
Sat, 24 Mar 2007 22:58:55 +0000
Author: chris
Date: 2007-03-24 22:58:55 +0000 (Sat, 24 Mar 2007)
New Revision: 1473
Modified:
box/chris/merge/lib/common/Test.h
Log:
Trivial code simplification. (refs #3, merges [1444])
Modified: box/chris/merge/lib/common/Test.h
===================================================================
--- box/chris/merge/lib/common/Test.h 2007-03-24 22:58:16 UTC (rev 1472)
+++ box/chris/merge/lib/common/Test.h 2007-03-24 22:58:55 UTC (rev 1473)
@@ -275,11 +275,9 @@
TEST_FAIL_WITH_MESSAGE("Server didn't save PID file");
return -1;
}
- else
- {
- ::fprintf(stdout, "done.\n");
- }
+ ::fprintf(stdout, "done.\n");
+
// wait a second for the pid to be written to the file
::sleep(1);