summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2014-12-26 23:16:08 +0000
committerChris Wilson <chris+github@qwirx.com>2014-12-26 23:16:08 +0000
commit839a04cea37e9615a0753337ce44780ce84d77fe (patch)
treeb0bdeadbfa6dbd57e6fe3254d36864982bf9edcb /bin
parent3431957386a00b0f13875c7e0cf639bf7ba307d8 (diff)
Fix more compile errors on MinGW
Diffstat (limited to 'bin')
-rw-r--r--bin/bbackupd/BackupDaemon.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/bbackupd/BackupDaemon.cpp b/bin/bbackupd/BackupDaemon.cpp
index bd2c179b..4ca92aad 100644
--- a/bin/bbackupd/BackupDaemon.cpp
+++ b/bin/bbackupd/BackupDaemon.cpp
@@ -203,7 +203,8 @@ BackupDaemon::BackupDaemon()
mpProgressNotifier(this),
mpLocationResolver(this),
mpRunStatusProvider(this),
- mpSysadminNotifier(this)
+ mpSysadminNotifier(this),
+ mapCommandSocketPollTimer(NULL)
#ifdef WIN32
, mInstallService(false),
mRemoveService(false),
@@ -443,6 +444,9 @@ void BackupDaemon::Run()
// initialise global timer mechanism
Timers::Init();
+ mapCommandSocketPollTimer.reset(new Timer(COMMAND_SOCKET_POLL_INTERVAL,
+ "CommandSocketPollTimer"));
+
#ifndef WIN32
// Ignore SIGPIPE so that if a command connection is broken,
// the daemon doesn't terminate.