mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-22 11:36:21 +00:00
Fix build
This commit is contained in:
1 parent
73297c8e65
commit
d0dedcfd2e
3 files changed
+8
-4
No files matched your search
@@ -7,7 +7,9 @@
|
||||
|
||||
size_t mg_vprintf(struct mg_connection *c, const char *fmt, va_list ap) {
|
||||
size_t old = c->send.len;
|
||||
mg_vrprintf(mg_putchar_iobuf, &c->send, fmt, &ap);
|
||||
va_list tmp;
|
||||
va_copy(tmp, ap);
|
||||
mg_vrprintf(mg_putchar_iobuf, &c->send, fmt, ©);
|
||||
return c->send.len - old;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user