Merge pull request #1748 from cesanta/va_end

Fix issue #1735
This commit is contained in:
Sergey Lyubka authored and GitHub committed 2022-09-21 09:43:47 +01:00
commit fe8a7d8db9
2 files changed
+2

No files matched your search

+1
View File
@@ -10,6 +10,7 @@ size_t mg_vprintf(struct mg_connection *c, const char *fmt, va_list ap) {
va_list tmp;
va_copy(tmp, ap);
mg_vxprintf(mg_pfn_iobuf, &c->send, fmt, &tmp);
va_end(tmp);
return c->send.len - old;
}