mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-30 12:50:58 +00:00
Remove c->is_resp, keep it private to http.c
This commit is contained in:
1 parent
bba5a0ca3a
commit
71e0176944
9 files changed
+32
-42
No files matched your search
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user