[Box Backup-commit] COMMIT r1323 - box/chris/general/bin/bbackupctl

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Sat Mar 3 21:48:18 GMT 2007


Author: chris
Date: 2007-03-03 21:48:18 +0000 (Sat, 03 Mar 2007)
New Revision: 1323

Modified:
   box/chris/general/bin/bbackupctl/bbackupctl.cpp
Log:
Move openlog() inside memory leak checks (from chris/merge)


Modified: box/chris/general/bin/bbackupctl/bbackupctl.cpp
===================================================================
--- box/chris/general/bin/bbackupctl/bbackupctl.cpp	2007-03-03 21:47:28 UTC (rev 1322)
+++ box/chris/general/bin/bbackupctl/bbackupctl.cpp	2007-03-03 21:48:18 UTC (rev 1323)
@@ -56,16 +56,16 @@
 {
 	int returnCode = 0;
 
-#if defined WIN32 && ! defined NDEBUG
-	::openlog("Box Backup (bbackupctl)", 0, 0);
-#endif
-
 	MAINHELPER_SETUP_MEMORY_LEAK_EXIT_REPORT("bbackupctl.memleaks", 
 		"bbackupctl")
 
 	MAINHELPER_START
 
-	// Filename for configuraiton file?
+#if defined WIN32 && ! defined NDEBUG
+	::openlog("Box Backup (bbackupctl)", 0, 0);
+#endif
+
+	// Filename for configuration file?
 	const char *configFilename = BOX_FILE_BBACKUPD_DEFAULT_CONFIG;
 	
 	// Quiet?




More information about the Boxbackup-commit mailing list