mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-12-19 06:41:42 +08:00
4
third_party/lwip/api/api_msg.c
vendored
4
third_party/lwip/api/api_msg.c
vendored
@@ -295,8 +295,6 @@ poll_tcp(void *arg, struct tcp_pcb *pcb)
|
||||
lwip_netconn_do_writemore(conn);
|
||||
} else if (conn->state == NETCONN_CLOSE) {
|
||||
lwip_netconn_do_close_internal(conn);
|
||||
} else if (conn->state == NETCONN_NONE) {
|
||||
return ERR_OK;
|
||||
}
|
||||
|
||||
/* @todo: implement connect timeout here? */
|
||||
@@ -334,8 +332,6 @@ sent_tcp(void *arg, struct tcp_pcb *pcb, u16_t len)
|
||||
lwip_netconn_do_writemore(conn);
|
||||
} else if (conn->state == NETCONN_CLOSE) {
|
||||
lwip_netconn_do_close_internal(conn);
|
||||
} else if (conn->state == NETCONN_NONE) {
|
||||
return ERR_OK;
|
||||
}
|
||||
|
||||
if (conn) {
|
||||
|
||||
Reference in New Issue
Block a user