From 327fb7b001036b55052ede7d7da4cf3d6b551702 Mon Sep 17 00:00:00 2001 From: ehouse Date: Tue, 5 Jul 2005 20:57:37 +0000 Subject: [PATCH] eliminate unnecessary setHeartbeatTimer call --- xwords4/common/comms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xwords4/common/comms.c b/xwords4/common/comms.c index b7cec409e..05a27fc5c 100644 --- a/xwords4/common/comms.c +++ b/xwords4/common/comms.c @@ -806,7 +806,7 @@ p_comms_timerFired( void* closure, XWTimerReason why ) XP_LOGF( "comms_timerFired" ); if ( comms->heartbeat != HEARTBEAT_NONE ) { send_via_relay( comms, XWRELAY_HEARTBEAT, HOST_ID_NONE, NULL, 0 ); - setHeartbeatTimer( comms ); + /* No need to reset timer. send_via_relay does that. */ } } /* comms_timerFired */