[Box Backup-commit] COMMIT r1155 - box/chris/merge/bin/bbackupctl
boxbackup-dev at fluffy.co.uk
boxbackup-dev at fluffy.co.uk
Mon Nov 13 15:57:21 GMT 2006
Author: chris
Date: 2006-11-13 15:57:20 +0000 (Mon, 13 Nov 2006)
New Revision: 1155
Modified:
box/chris/merge/bin/bbackupctl/bbackupctl.cpp
Log:
openlog inside MAINHELPER block, to ensure that any memory leaks will be
caught (refs #3)
Modified: box/chris/merge/bin/bbackupctl/bbackupctl.cpp
===================================================================
--- box/chris/merge/bin/bbackupctl/bbackupctl.cpp 2006-11-13 15:56:09 UTC (rev 1154)
+++ box/chris/merge/bin/bbackupctl/bbackupctl.cpp 2006-11-13 15:57:20 UTC (rev 1155)
@@ -56,15 +56,15 @@
{
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
+#if defined WIN32 && ! defined NDEBUG
+ ::openlog("Box Backup (bbackupctl)", 0, 0);
+#endif
+
// Filename for configuraiton file?
const char *configFilename = BOX_FILE_BBACKUPD_DEFAULT_CONFIG;
More information about the Boxbackup-commit
mailing list