mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-01 03:16:03 +00:00
api_msg_c: fixed compiler warning (added brackets in if statement)
This commit is contained in:
parent
5d13b5a2fb
commit
0963e91c34
@ -983,7 +983,7 @@ lwip_netconn_do_delconn(struct api_msg_msg *msg)
|
||||
if (((msg->conn->state != NETCONN_NONE) &&
|
||||
(msg->conn->state != NETCONN_LISTEN) &&
|
||||
(msg->conn->state != NETCONN_CONNECT)) ||
|
||||
(msg->conn->state == NETCONN_CONNECT) && !IN_NONBLOCKING_CONNECT(msg->conn)) {
|
||||
((msg->conn->state == NETCONN_CONNECT) && !IN_NONBLOCKING_CONNECT(msg->conn))) {
|
||||
/* This means either a blocking write or blocking connect is running
|
||||
(nonblocking write returns and sets state to NONE) */
|
||||
msg->err = ERR_INPROGRESS;
|
||||
|
Loading…
Reference in New Issue
Block a user