Remove c->is_resp, keep it private to http.c

This commit is contained in:
cpq committed 2026-09-30 15:12:54 +01:00
1 parent bba5a0ca3a
commit 71e0176944
9 files changed
+32 -42

No files matched your search

+1 -1
View File
@@ -3351,7 +3351,7 @@ static void eY(struct mg_connection *c, int ev, void *ev_data) {
c->data[0]++;
if (c->data[0] == 10) mg_send(c, "a", 1);
if (c->data[0] == 12) mg_send(c, "bc", 2);
if (c->data[0] == 30) mg_send(c, "d", 1), c->is_resp = 0, c->data[0] = 0;
if (c->data[0] == 30) mg_send(c, "d", 1), c->pfn_data = NULL, c->data[0] = 0;
}
(void) ev_data;
}