Skip to content
Snippets Groups Projects
Commit 0e24a32b authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Increase formatted log/console output buffers from 1K to 8K

... make them more useful (e.g. when the result of script is a big string).
parent 7e1928f3
No related branches found
No related tags found
No related merge requests found
......@@ -221,7 +221,7 @@ raw_tty(void)
int mfprintf(FILE* fp, char *fmt, ...)
{
va_list argptr;
char sbuf[1024];
char sbuf[8192];
int ret = 0;
va_start(argptr, fmt);
......@@ -242,7 +242,7 @@ int mfprintf(FILE* fp, char *fmt, ...)
int lprintf(int level, const char *fmt, ...)
{
va_list argptr;
char sbuf[1024];
char sbuf[8192];
int ret = 0;
if (level > log_level)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment