mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-08-23 14:46:01 +00:00
In accept_function, one LWIP_ERROR had a wrong expression (since it is inverted compared to LWIP_ASSERT...)
This commit is contained in:
parent
55bd48dc10
commit
261e92c57b
|
@ -294,7 +294,7 @@ accept_function(void *arg, struct tcp_pcb *newpcb, err_t err)
|
||||||
conn = (struct netconn *)arg;
|
conn = (struct netconn *)arg;
|
||||||
|
|
||||||
LWIP_ERROR("accept_function: invalid conn->acceptmbox",
|
LWIP_ERROR("accept_function: invalid conn->acceptmbox",
|
||||||
conn->acceptmbox != SYS_MBOX_NULL, return ERR_VAL;);
|
conn->acceptmbox == SYS_MBOX_NULL, return ERR_VAL;);
|
||||||
|
|
||||||
newconn = memp_malloc(MEMP_NETCONN);
|
newconn = memp_malloc(MEMP_NETCONN);
|
||||||
if (newconn == NULL) {
|
if (newconn == NULL) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user