Move mg_mqtt_next-* to the example, and some nits

This commit is contained in:
cpq committed 2022-08-26 14:20:54 +01:00
1 parent ffa033cca9
commit c7b9ca68c2
10 files changed
+45 -150

No files matched your search

+1 -1
View File
@@ -157,7 +157,7 @@ void mg_close_conn(struct mg_connection *c) {
// Order of operations is important. `MG_EV_CLOSE` event must be fired
// before we deallocate received data, see #1331
mg_call(c, MG_EV_CLOSE, NULL);
MG_DEBUG(("%lu closed", c->id));
MG_DEBUG(("%lu %p closed", c->id, c->fd));
mg_tls_free(c);
mg_iobuf_free(&c->recv);