print correct pcb->rtime value in debug statament.it does not directly depend on tcp_ticks

This commit is contained in:
jani 2003-01-10 15:41:02 +00:00
parent 4a2d03a517
commit 4eebbdea0d

View File

@ -476,7 +476,7 @@ tcp_slowtmr(void)
/* Time for a retransmission. */ /* Time for a retransmission. */
DEBUGF(TCP_RTO_DEBUG, ("tcp_slowtmr: rtime %ld pcb->rto %d\n", DEBUGF(TCP_RTO_DEBUG, ("tcp_slowtmr: rtime %ld pcb->rto %d\n",
tcp_ticks - pcb->rtime, pcb->rto)); pcb->rtime, pcb->rto));
/* Double retransmission time-out unless we are trying to /* Double retransmission time-out unless we are trying to
connect to somebody (i.e., we are in SYN_SENT). */ connect to somebody (i.e., we are in SYN_SENT). */