mirror of
https://github.com/GOSTSec/sgminer
synced 2025-02-05 19:44:21 +00:00
Since we check roll time per work item now, it need only be debug log level.
This commit is contained in:
parent
64e7cdd61b
commit
d89a6c57b1
3
util.c
3
util.c
@ -236,7 +236,8 @@ static size_t resp_hdr_cb(void *ptr, size_t size, size_t nmemb, void *user_data)
|
|||||||
applog(LOG_DEBUG, "HTTP hdr(%s): %s", key, val);
|
applog(LOG_DEBUG, "HTTP hdr(%s): %s", key, val);
|
||||||
|
|
||||||
if (!strcasecmp("X-Roll-Ntime", key)) {
|
if (!strcasecmp("X-Roll-Ntime", key)) {
|
||||||
applog(LOG_INFO, "X-Roll-Ntime found");
|
if (opt_debug)
|
||||||
|
applog(LOG_DEBUG, "X-Roll-Ntime found");
|
||||||
hi->has_rolltime = true;
|
hi->has_rolltime = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user