File pacemaker-crmd-check-correct-timer.patch of Package pacemaker.14737
commit 396f31ed451d9baf2ad588ef63278941b3c064c0
Author: Ken Gaillot <kgaillot@redhat.com>
Date: Tue Apr 18 15:27:03 2017 -0500
Low: crmd: check correct timer for being started
Old copy-and-paste error never caused any problem because the only caller
used the mistakenly listed timer.
diff --git a/crmd/utils.c b/crmd/utils.c
index 07c323d2f..2d7bdaad7 100644
--- a/crmd/utils.c
+++ b/crmd/utils.c
@@ -162,7 +162,7 @@ gboolean
is_timer_started(fsa_timer_t * timer)
{
if (timer->period_ms > 0) {
- if (transition_timer->source_id == 0) {
+ if (timer->source_id == 0) {
return FALSE;
} else {
return TRUE;