diff --git a/docs/c-api/net.h/struct_mg_mgr.md b/docs/c-api/net.h/struct_mg_mgr.md index 5adfe6e8..f510e1b0 100644 --- a/docs/c-api/net.h/struct_mg_mgr.md +++ b/docs/c-api/net.h/struct_mg_mgr.md @@ -7,7 +7,7 @@ signature: | struct mg_connection *active_connections; const char *hexdump_file; /* Debug hexdump file path */ #ifndef MG_DISABLE_SOCKETPAIR - sock_t ctl[2]; /* Socketpair for mg_broadcast() */ + sock_t ctl[2]; /* Socketpair for mg_wakeup() */ #endif void *user_data; /* User data */ void *mgr_data; /* Implementation-specific event manager's data. */ diff --git a/mongoose.h b/mongoose.h index 304fa5d3..d2fab8ff 100644 --- a/mongoose.h +++ b/mongoose.h @@ -1199,7 +1199,7 @@ struct mg_mgr { struct mg_connection *active_connections; const char *hexdump_file; /* Debug hexdump file path */ #ifndef MG_DISABLE_SOCKETPAIR - sock_t ctl[2]; /* Socketpair for mg_broadcast() */ + sock_t ctl[2]; /* Socketpair for mg_wakeup() */ #endif void *user_data; /* User data */ void *mgr_data; /* Implementation-specific event manager's data. */