1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-22 20:44:19 +00:00

Always log warnings and error messages.

This commit is contained in:
Con Kolivas 2011-07-06 12:57:38 +10:00
parent ed7e5bf9a3
commit 0f351d8466

2
util.c
View File

@ -70,7 +70,7 @@ void applog(int prio, const char *fmt, ...)
#else
if (0) {}
#endif
else if (opt_log_output) {
else if (opt_log_output || prio == LOG_WARNING || prio == LOG_ERR) {
char *f;
int len;
struct timeval tv = { };