summaryrefslogtreecommitdiff
path: root/src/signalController.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/signalController.cpp')
-rw-r--r--src/signalController.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/signalController.cpp b/src/signalController.cpp
index ca6d044..244c32f 100644
--- a/src/signalController.cpp
+++ b/src/signalController.cpp
@@ -73,12 +73,12 @@ int SigErrorHandler(const SigNum& /*sig*/, const std::string& msg)
void SignalController::init()
{
- DaemonService service;
+ DaemonService* service = NULL;
registerSignalHandler(*this, service);
handler[SIGERROR] = boost::bind(SigErrorHandler, _1, _2);
}
-void SignalController::init(DaemonService& service)
+void SignalController::init(DaemonService* service)
{
registerSignalHandler(*this, service);
handler[SIGERROR] = boost::bind(SigErrorHandler, _1, _2);