diff --git a/src/api/api_msg.c b/src/api/api_msg.c index 8c4ba90a..db2228b6 100644 --- a/src/api/api_msg.c +++ b/src/api/api_msg.c @@ -494,7 +494,7 @@ accept_function(void *arg, struct tcp_pcb *newpcb, err_t err) return ERR_VAL; } - LWIP_DEBUGF(API_MSG_DEBUG, ("accept_function: newpcb->tate: %s\n", tcp_debug_state_str(newpcb->state))); + LWIP_DEBUGF(API_MSG_DEBUG, ("accept_function: newpcb->state: %s\n", tcp_debug_state_str(newpcb->state))); /* We have to set the callback here even though * the new socket is unknown. newconn->socket is marked as -1. */