Add driver init to mg_mgr_init()

This commit is contained in:
Sergio R. Caprile committed 2026-11-18 14:23:39 -03:00
1 parent 5c459c71ea
commit 8db0729c19
4 files changed
+28

No files matched your search

+5
View File
@@ -9616,6 +9616,11 @@ void mg_mgr_free(struct mg_mgr *mgr) {
#endif
}
#if MG_ENABLE_TCPIP && MG_ENABLE_TCPIP_DRIVER_INIT
void mg_tcpip_auto_init(struct mg_mgr *);
#endif
void mg_mgr_init(struct mg_mgr *mgr) {
memset(mgr, 0, sizeof(*mgr));
#if MG_ENABLE_EPOLL