eliminate unnecessary setHeartbeatTimer call

This commit is contained in:
ehouse 2005-07-05 20:57:37 +00:00
parent 7d388c3a2a
commit 327fb7b001

View file

@ -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 */