mirror of
https://github.com/GOSTSec/sgminer
synced 2025-02-02 10:04:33 +00:00
log: do not set poolname in log in incognito mode.
This commit is contained in:
parent
f737992f41
commit
2561295e3d
@ -755,8 +755,12 @@ static char *set_poolname(char *arg)
|
|||||||
add_pool();
|
add_pool();
|
||||||
pool = pools[json_array_index];
|
pool = pools[json_array_index];
|
||||||
|
|
||||||
applog(LOG_DEBUG, "Setting pool %i name to %s", pool->pool_no, arg);
|
if (opt_incognito) {
|
||||||
opt_set_charp(arg, &pool->poolname);
|
applog(LOG_DEBUG, "Incognito mode requested, not setting pool %i name", pool->pool_no);
|
||||||
|
} else {
|
||||||
|
applog(LOG_DEBUG, "Setting pool %i name to %s", pool->pool_no, arg);
|
||||||
|
opt_set_charp(arg, &pool->poolname);
|
||||||
|
}
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user