diff --git a/src/core/tcp_in.c b/src/core/tcp_in.c index aa3f9f61..9335c483 100644 --- a/src/core/tcp_in.c +++ b/src/core/tcp_in.c @@ -341,12 +341,12 @@ tcp_input(struct pbuf *p, struct netif *inp) if (err == ERR_OK) { tcp_output(pcb); } - } #if TCP_INPUT_DEBUG #if TCP_DEBUG - tcp_debug_print_state(pcb->state); + tcp_debug_print_state(pcb->state); #endif /* TCP_DEBUG */ #endif /* TCP_INPUT_DEBUG */ + } }