changeset 1512:4353e3a8bec1 rel-0_7_0_1

Check against >= 10 instead of > 10
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 05 Jul 2012 16:10:36 +0300
parents 7978e50eb93b
children b1863ad0a7e5
files ggrtf.tf
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ggrtf.tf	Thu Jul 05 16:10:27 2012 +0300
+++ b/ggrtf.tf	Thu Jul 05 16:10:36 2012 +0300
@@ -2173,7 +2173,7 @@
 	/if (time() - heartbeat_last >= heartbeat_avg + 2 * heartbeat_res)\
 		/gheartbeat_do force%;\
 	/endif%;\
-	/if (heartbeat_cnt > 10)\
+	/if (heartbeat_cnt >= 10)\
 		/set heartbeat_discard=0%;\
 		/gheartbeat_tick FORCE%;\
 	/endif