1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-10 23:08:07 +00:00

log: change log level in setup_stratum_socket().

Erroneously stayed at LOG_ERROR after issue #88 (IIRC).
This commit is contained in:
Noel Maersk 2014-04-07 23:54:43 +03:00
parent 0dcb6ca498
commit 7051629232

2
util.c
View File

@ -2159,7 +2159,7 @@ static bool setup_stratum_socket(struct pool *pool)
ret = getaddrinfo(sockaddr_url, sockaddr_port, hints, &servinfo);
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) {
applog(LOG_WARNING, "Failed to resolve (wrong URL?) %s:%s",
sockaddr_url, sockaddr_port);