Browse Source

Log to the output file at any time with warnings and errors, instead of just when verbose mode is on.

nfactor-troky
Con Kolivas 13 years ago
parent
commit
53e05c6413
  1. 2
      util.c

2
util.c

@ -124,7 +124,7 @@ void vapplog(int prio, const char *fmt, va_list ap) @@ -124,7 +124,7 @@ void vapplog(int prio, const char *fmt, va_list ap)
tm.tm_sec,
fmt);
/* Only output to stderr if it's not going to the screen as well */
if (opt_log_output && !isatty(fileno((FILE *)stderr))) {
if (!isatty(fileno((FILE *)stderr))) {
va_list apc;
va_copy(apc, ap);

Loading…
Cancel
Save