summaryrefslogtreecommitdiffstats
path: root/src/ManagementServer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ManagementServer.cpp')
-rw-r--r--src/ManagementServer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ManagementServer.cpp b/src/ManagementServer.cpp
index dd4da89..f946fd0 100644
--- a/src/ManagementServer.cpp
+++ b/src/ManagementServer.cpp
@@ -343,7 +343,7 @@ input_state_t InputStat::determineState(void)
{
boost::mutex::scoped_lock lock(m_mutex);
- time_t now = time(NULL);
+ time_t now = time(nullptr);
input_state_t state;
/* if the last event was more that INPUT_COUNTER_RESET_TIME