summaryrefslogtreecommitdiff
path: root/apps/Gateway/Gateway/Gateway.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'apps/Gateway/Gateway/Gateway.cpp')
-rw-r--r--apps/Gateway/Gateway/Gateway.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/Gateway/Gateway/Gateway.cpp b/apps/Gateway/Gateway/Gateway.cpp
index f0732846d2f..bbe748a0cd4 100644
--- a/apps/Gateway/Gateway/Gateway.cpp
+++ b/apps/Gateway/Gateway/Gateway.cpp
@@ -110,10 +110,9 @@ Gateway::init (int argc, ACE_TCHAR *argv[])
if (Options::instance ()->performance_window () > 0)
{
- ACE_Time_Value const performance_time (Options::instance ()->performance_window ());
if (ACE_Reactor::instance ()->schedule_timer
(&this->event_channel_, 0,
- performance_time) == -1)
+ Options::instance ()->performance_window ()) == -1)
ACE_ERROR ((LM_ERROR,
ACE_TEXT ("(%t) %p\n"),
ACE_TEXT ("schedule_timer")));