[Box Backup-commit] COMMIT r1444 - box/chris/general/lib/common

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Sat Mar 24 14:40:12 GMT 2007


Author: chris
Date: 2007-03-24 14:40:10 +0000 (Sat, 24 Mar 2007)
New Revision: 1444

Modified:
   box/chris/general/lib/common/Test.h
Log:
Trivial code simplification


Modified: box/chris/general/lib/common/Test.h
===================================================================
--- box/chris/general/lib/common/Test.h	2007-03-24 14:39:50 UTC (rev 1443)
+++ box/chris/general/lib/common/Test.h	2007-03-24 14:40:10 UTC (rev 1444)
@@ -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);
 




More information about the Boxbackup-commit mailing list