changeset 1417:3c902e7a5f8f

Actually print the semi-correct heartbeat value for 'sc' lines .. silly bug fixed.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 08 Aug 2011 09:08:39 +0300
parents 79d8e172d815
children d445b130f921
files ggrtf.tf
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ggrtf.tf	Sat Aug 06 22:53:34 2011 +0300
+++ b/ggrtf.tf	Mon Aug 08 09:08:39 2011 +0300
@@ -2085,8 +2085,8 @@
 	/endif%;\
 	/if (status_sp - status_oldsp > 30 | status_ep - status_oldep > 5)\
 		/gheartbeat_do%;\
+		/substitute -p %{status_qline} @{BCred}[HB %{heartbeat_cnt}]@{n}%;\
 		/gheartbeat_tick NORMAL%;\
-		/substitute -p %{status_qline} @{BCred}[HB %{heartbeat_cnt}]@{n}%;\
 	/endif
 
 ;; Detect certain events that cause potentially "false" ticks to occur.