forked from wolfSSL/wolfssl
tcp-conn-nb.c, fixing stat
This commit is contained in:
@ -69,8 +69,7 @@ static struct tcp_cb {
|
|||||||
static err_t TcpConnectedCallback (void *arg, struct tcp_pcb *pcb, s8_t err)
|
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) ;
|
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;
|
return ERR_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user