mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-11 16:40:17 +00:00
Fix issue 300
This commit is contained in:
1 parent
ed70793670
commit
905413b656
2 files changed
+7
-3
No files matched your search
+5
-1
@@ -160,7 +160,11 @@ int mg_write(struct mg_connection *, const void *buf, size_t len);
|
||||
// Note that mg_printf() uses internal buffer of size IO_BUF_SIZE
|
||||
// (8 Kb by default) as temporary message storage for formatting. Do not
|
||||
// print data that is bigger than that, otherwise it will be truncated.
|
||||
int mg_printf(struct mg_connection *, const char *fmt, ...);
|
||||
int mg_printf(struct mg_connection *, const char *fmt, ...)
|
||||
#ifdef __GNUC__
|
||||
__attribute__((format(printf, 2, 3)))
|
||||
#endif
|
||||
;
|
||||
|
||||
|
||||
// Send contents of the entire file together with HTTP headers.
|
||||
|
||||
Reference in new issue
Block a user