mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-28 00:15:16 +00:00
removed invalid call to tcp_connect() in do_close_internal()
This commit is contained in:
parent
99db244124
commit
ae2d5266c5
@ -603,7 +603,6 @@ do_close_internal(struct netconn *conn)
|
||||
tcp_accept(conn->pcb.tcp, NULL);
|
||||
} else {
|
||||
tcp_recv(conn->pcb.tcp, NULL);
|
||||
tcp_connect(conn->pcb.tcp, NULL);
|
||||
tcp_accept(conn->pcb.tcp, NULL);
|
||||
/* some callbacks have to be reset if tcp_close is not successful */
|
||||
tcp_sent(conn->pcb.tcp, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user