Introduce struct mg_flash::{read_fn,init_fn}

This commit is contained in:
cpq committed 2026-12-03 10:47:45 +00:00
1 parent 9ac1106e74
commit 57e30ab2e9
18 files changed
+438 -293

No files matched your search

+1 -1
View File
@@ -3334,7 +3334,7 @@ static void test_http_stream_errors(void) {
ASSERT(state.ends == 1);
if (c.is_client) {
ASSERT(c.send.len == 0);
ASSERT(c.is_closing == (cases[i].code != 200));
ASSERT(c.is_closing == (unsigned) (cases[i].code != 200));
} else {
ASSERT(mg_http_parse((char *) c.send.buf, c.send.len, &hm) > 0);
ASSERT(mg_http_status(&hm) == cases[i].code);