mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-10 23:08:07 +00:00
pool: define and use POOL_NAME_INCOGNITO.
This commit is contained in:
parent
8e4fb3c554
commit
bd6766f231
2
pool.c
2
pool.c
@ -35,7 +35,7 @@
|
||||
#include <string.h>
|
||||
|
||||
char* get_pool_name(struct pool *pool) {
|
||||
if (opt_incognito) return "<incognito>";
|
||||
if (opt_incognito) return POOL_NAME_INCOGNITO;
|
||||
if (strcmp(pool->poolname, "") == 0) return pool->sockaddr_url;
|
||||
return pool->poolname;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user