Browse Source

send header before other messages

master 1.07
prx 2 months ago
parent
commit
843d1f0ab7
  1. 2
      utils.c

2
utils.c

@ -83,6 +83,8 @@ errlog(const char *format, ...)
char e[1024] = {'\0'};
va_list ap;
fflush(stdout); /* make sure older messages are printed */
va_start(ap, format);
vsnprintf(e, sizeof(e), format, ap);
va_end(ap);

Loading…
Cancel
Save