Browse Source

Set pool->probed to true after an attempt to resolve the url via stratum code.

nfactor-troky
Con Kolivas 12 years ago
parent
commit
f227515e38
  1. 1
      util.c

1
util.c

@ -1531,6 +1531,7 @@ static bool setup_stratum_socket(struct pool *pool)
if (!pool->probed) { if (!pool->probed) {
applog(LOG_WARNING, "Failed to resolve (?wrong URL) %s:%s", applog(LOG_WARNING, "Failed to resolve (?wrong URL) %s:%s",
pool->sockaddr_url, pool->stratum_port); pool->sockaddr_url, pool->stratum_port);
pool->probed = true;
} else { } else {
applog(LOG_INFO, "Failed to getaddrinfo for %s:%s", applog(LOG_INFO, "Failed to getaddrinfo for %s:%s",
pool->sockaddr_url, pool->stratum_port); pool->sockaddr_url, pool->stratum_port);

Loading…
Cancel
Save