mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-17 05:36:46 +08:00
httpd: fixed using pools, fixed missing default value of LWIP_HTTPD_SSI_RAW, fixed typo
This commit is contained in:
@@ -2619,13 +2619,11 @@ httpd_init(void)
|
||||
struct tcp_pcb *pcb;
|
||||
err_t err;
|
||||
|
||||
#if MEMP_MEM_MALLOC || MEM_USE_POOLS || MEMP_USE_CUSTOM_POOLS
|
||||
#if HTTPD_USE_MEM_POOL
|
||||
LWIP_MEMPOOL_INIT(HTTPD_STATE);
|
||||
#if LWIP_HTTPD_SSI
|
||||
LWIP_MEMPOOL_INIT(HTTPD_SSI_STATE);
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
LWIP_DEBUGF(HTTPD_DEBUG, ("httpd_init\n"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user