|
|
@ -2159,7 +2159,7 @@ static bool setup_stratum_socket(struct pool *pool) |
|
|
|
|
|
|
|
|
|
|
|
ret = getaddrinfo(sockaddr_url, sockaddr_port, hints, &servinfo); |
|
|
|
ret = getaddrinfo(sockaddr_url, sockaddr_port, hints, &servinfo); |
|
|
|
if (ret) { |
|
|
|
if (ret) { |
|
|
|
applog(LOG_ERR, "getaddrinfo() in setup_stratum_socket() returned %i: %s", ret, gai_strerror(ret)); |
|
|
|
applog(LOG_INFO, "getaddrinfo() in setup_stratum_socket() returned %i: %s", ret, gai_strerror(ret)); |
|
|
|
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", |
|
|
|
sockaddr_url, sockaddr_port); |
|
|
|
sockaddr_url, sockaddr_port); |
|
|
|