Displays and capturers use now log_msg() for periodic messages

This commit is contained in:
Martin Pulec
2015-07-13 11:09:37 +02:00
parent 3683438e6a
commit 715dca1bc3
27 changed files with 31 additions and 27 deletions

View File

@@ -91,7 +91,6 @@ void log_msg(int level, const char *format, ...)
#endif /* WIN32 */
va_list ap;
FILE *f = level >= LOG_LEVEL_INFO ? stdout : stderr;
const char *color = "";
const char *ending = "\033[0m";
@@ -112,7 +111,7 @@ void log_msg(int level, const char *format, ...)
}
va_start(ap, format);
vfprintf(f, format, ap);
vfprintf(stderr, format, ap);
va_end(ap);
}