Fixed incorrect variable name in ReplicationComponent::ServiceStateChangeRequestHandler.

This commit is contained in:
Gunnar Beutner 2013-01-28 10:07:48 +01:00
parent 366b1d1435
commit 15e6337594
1 changed files with 2 additions and 2 deletions

View File

@ -79,9 +79,9 @@ void ReplicationComponent::ServiceStateChangeRequestHandler(const RequestMessage
Value schedule_end = cr->Get("schedule_end"); Value schedule_end = cr->Get("schedule_end");
if (!schedule_end.IsEmpty()) if (!schedule_end.IsEmpty())
schedule_end = static_cast<time_t>(schedule_end); ts = static_cast<time_t>(schedule_end);
else else
schedule_end = static_cast<time_t>(Utility::GetTime()); ts = static_cast<time_t>(Utility::GetTime());
if (active.IsEmpty() || static_cast<long>(active)) if (active.IsEmpty() || static_cast<long>(active))
CIB::UpdateActiveChecksStatistics(ts, 1); CIB::UpdateActiveChecksStatistics(ts, 1);