fixed that lwip_netconn_do_delconn() did not set msg->err on success (just introduced that bug this weekend...)

This commit is contained in:
goldsimon 2015-01-20 14:01:16 +01:00
parent e926a93568
commit 24df78bcbc

View File

@ -852,6 +852,7 @@ lwip_netconn_do_delconn(struct api_msg_msg *msg)
} else {
LWIP_ASSERT("blocking connect in progress",
(msg->conn->state != NETCONN_CONNECT) || IN_NONBLOCKING_CONNECT(msg->conn));
msg->err = ERR_OK;
/* Drain and delete mboxes */
netconn_drain(msg->conn);