From 1dae102359be9577923913da122ba90c9920c21c Mon Sep 17 00:00:00 2001 From: curtmcd Date: Wed, 31 May 2006 21:23:26 +0000 Subject: [PATCH] Fix debug print, remove reference to TCP_COARSE_TIMEOUT --- src/core/tcp.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/core/tcp.c b/src/core/tcp.c index 41a9edb4..4910c4f1 100644 --- a/src/core/tcp.c +++ b/src/core/tcp.c @@ -51,8 +51,7 @@ #include "lwip/tcp.h" #if LWIP_TCP -/* Incremented every coarse grained timer shot - (typically every 500 ms, determined by TCP_COARSE_TIMEOUT). */ +/* Incremented every coarse grained timer shot (typically every 500 ms). */ u32_t tcp_ticks; const u8_t tcp_backoff[13] = { 1, 2, 3, 4, 5, 6, 7, 7, 7, 7, 7, 7, 7}; @@ -117,10 +116,10 @@ tcp_close(struct tcp_pcb *pcb) err_t err; #if TCP_DEBUG - LWIP_DEBUGF(TCP_DEBUG, ("tcp_close: closing in state ")); + LWIP_DEBUGF(TCP_DEBUG, ("tcp_close: closing in ")); tcp_debug_print_state(pcb->state); - LWIP_DEBUGF(TCP_DEBUG, ("\n")); #endif /* TCP_DEBUG */ + switch (pcb->state) { case CLOSED: /* Closing a pcb in the CLOSED state might seem erroneous,