From: Gunnar Beutner Date: Mon, 28 Jan 2013 09:07:48 +0000 (+0100) Subject: Fixed incorrect variable name in ReplicationComponent::ServiceStateChangeRequestHandler. X-Git-Tag: v0.0.2~637 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=15e63375940a41915501084e4cfcaf5fbf33ffa8;p=icinga2 Fixed incorrect variable name in ReplicationComponent::ServiceStateChangeRequestHandler. --- diff --git a/components/replication/replicationcomponent.cpp b/components/replication/replicationcomponent.cpp index a8a50b4af..c3e694fae 100644 --- a/components/replication/replicationcomponent.cpp +++ b/components/replication/replicationcomponent.cpp @@ -79,9 +79,9 @@ void ReplicationComponent::ServiceStateChangeRequestHandler(const RequestMessage Value schedule_end = cr->Get("schedule_end"); if (!schedule_end.IsEmpty()) - schedule_end = static_cast(schedule_end); + ts = static_cast(schedule_end); else - schedule_end = static_cast(Utility::GetTime()); + ts = static_cast(Utility::GetTime()); if (active.IsEmpty() || static_cast(active)) CIB::UpdateActiveChecksStatistics(ts, 1);