fix tests

This commit is contained in:
Sergio R. Caprile committed 2025-07-07 11:32:31 -03:00
1 parent b95022a3b3
commit a8c2ce544e
12 files changed
+107 -2183

No files matched your search

+1 -1
View File
@@ -63,7 +63,7 @@ static void cb(struct mg_connection *c, int ev, void *ev_data) {
mg_tls_init(c, &opts);
}
if (ev == MG_EV_HTTP_MSG) {
struct mg_http_message *hm = ev_data;
struct mg_http_message *hm = (struct mg_http_message *) ev_data;
if (mg_match(hm->uri, mg_str("/upload"), NULL)) {
// Serve file upload