1
0
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:
Con Kolivas 2013-05-18 13:09:01 +10:00
parent e128f90ef1
commit f227515e38

1
util.c
View File

@ -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);