1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-02-02 10:04:33 +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 #else
if (0) {} if (0) {}
#endif #endif
else if (opt_log_output) { else if (opt_log_output || prio == LOG_WARNING || prio == LOG_ERR) {
char *f; char *f;
int len; int len;
struct timeval tv = { }; struct timeval tv = { };