diff --git a/src/AsyncTCP.cpp b/src/AsyncTCP.cpp index 3c2d589..0805079 100644 --- a/src/AsyncTCP.cpp +++ b/src/AsyncTCP.cpp @@ -1253,7 +1253,7 @@ void AsyncServer::end(){ tcp_arg(_pcb, NULL); tcp_accept(_pcb, NULL); if(tcp_close(_pcb) != ERR_OK){ - _tcp_abort(_pcb, NULL); + _tcp_abort(_pcb); } _pcb = NULL; }