mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-23 00:27:09 +08:00
more LWIP_NOASSERT fixes
This commit is contained in:
@@ -2562,6 +2562,7 @@ httpd_init(void)
|
||||
tcp_setprio(pcb, HTTPD_TCP_PRIO);
|
||||
/* set SOF_REUSEADDR here to explicitly bind httpd to multiple interfaces */
|
||||
err = tcp_bind(pcb, IP_ANY_TYPE, HTTPD_SERVER_PORT);
|
||||
LWIP_UNUSED_ARG(err); /* in case of LWIP_NOASSERT */
|
||||
LWIP_ASSERT("httpd_init: tcp_bind failed", err == ERR_OK);
|
||||
pcb = tcp_listen(pcb);
|
||||
LWIP_ASSERT("httpd_init: tcp_listen failed", pcb != NULL);
|
||||
|
||||
Reference in New Issue
Block a user