diff --git a/docs/c-api/mqtt_server.h/struct_mg_mqtt_broker.md b/docs/c-api/mqtt_server.h/struct_mg_mqtt_broker.md index 44ed3943..eaaa637f 100644 --- a/docs/c-api/mqtt_server.h/struct_mg_mqtt_broker.md +++ b/docs/c-api/mqtt_server.h/struct_mg_mqtt_broker.md @@ -4,8 +4,8 @@ decl_name: "struct mg_mqtt_broker" symbol_kind: "struct" signature: | struct mg_mqtt_broker { - LIST_HEAD(, mg_mqtt_session) sessions; /* Session list */ - void *user_data; /* User data */ + LIST_HEAD(_mg_sesshead, mg_mqtt_session) sessions; /* Session list */ + void *user_data; /* User data */ }; --- diff --git a/mongoose.h b/mongoose.h index 3c23c154..71cbf96b 100644 --- a/mongoose.h +++ b/mongoose.h @@ -5024,8 +5024,8 @@ struct mg_mqtt_session { /* MQTT broker. */ struct mg_mqtt_broker { - LIST_HEAD(, mg_mqtt_session) sessions; /* Session list */ - void *user_data; /* User data */ + LIST_HEAD(_mg_sesshead, mg_mqtt_session) sessions; /* Session list */ + void *user_data; /* User data */ }; /* Initialises a MQTT broker. */