tcp-conn-nb.c, fixing stat

This commit is contained in:
Takashi Kojo 2014-02-20 16:03:12 +09:00
parent 75864e6e9c
commit 7cd238efd2

View File

@ -69,8 +69,7 @@ static struct tcp_cb {
static err_t TcpConnectedCallback (void *arg, struct tcp_pcb *pcb, s8_t err)
{
DBG_PRINTF("TcpConnectedCallback(arg=%x, pcb=%x, err=%x)\n", arg, pcb, err) ;
//if(*(int *)arg == TCP_WAITING)
*(int *)arg = TCP_CONNECTED ;
*(int *)arg = TCP_CONNECTED ;
return ERR_OK;
}