From f227515e38e03cc754c69093d41802225b82ff2e Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sat, 18 May 2013 13:09:01 +1000 Subject: [PATCH] Set pool->probed to true after an attempt to resolve the url via stratum code. --- util.c | 1 + 1 file changed, 1 insertion(+) diff --git a/util.c b/util.c index 60e426e9..79ed8566 100644 --- a/util.c +++ b/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);