mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-09 16:21:45 +00:00
Handle minus in the fmt spec
This commit is contained in:
1 parent
54f75889fa
commit
313ac34e59
10 files changed
+272
-216
No files matched your search
+1
-1
@@ -146,7 +146,7 @@ static void iolog(struct mg_connection *c, char *buf, long n, bool r) {
|
||||
mg_call(c, MG_EV_READ, &evd);
|
||||
} else {
|
||||
mg_iobuf_del(&c->send, 0, (size_t) n);
|
||||
if (c->send.len == 0) mg_iobuf_resize(&c->send, 0);
|
||||
// if (c->send.len == 0) mg_iobuf_resize(&c->send, 0);
|
||||
mg_call(c, MG_EV_WRITE, &n);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user