Add align to struct mg_iobuf

This commit is contained in:
Sergey Lyubka committed 2022-08-01 12:53:25 +01:00
1 parent a468f58128
commit 17e2fdd4cb
12 files changed
+92 -74

No files matched your search

+1 -1
View File
@@ -799,7 +799,7 @@ bool mg_send(struct mg_connection *c, const void *buf, size_t len) {
res = true;
} else {
// tx_tdp(ifp, ifp->ip, c->loc.port, c->rem.ip, c->rem.port, buf, len);
return mg_iobuf_add(&c->send, c->send.len, buf, len, MG_IO_SIZE);
return mg_iobuf_add(&c->send, c->send.len, buf, len);
}
return res;
}