mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 07:17:58 +00:00
Set pool->probed to true after an attempt to resolve the url via stratum code.
This commit is contained in:
parent
e128f90ef1
commit
f227515e38
1
util.c
1
util.c
@ -1531,6 +1531,7 @@ static bool setup_stratum_socket(struct pool *pool)
|
||||
if (!pool->probed) {
|
||||
applog(LOG_WARNING, "Failed to resolve (?wrong URL) %s:%s",
|
||||
pool->sockaddr_url, pool->stratum_port);
|
||||
pool->probed = true;
|
||||
} else {
|
||||
applog(LOG_INFO, "Failed to getaddrinfo for %s:%s",
|
||||
pool->sockaddr_url, pool->stratum_port);
|
||||
|
Loading…
Reference in New Issue
Block a user