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:
parent
0dcb6ca498
commit
7051629232
2
util.c
2
util.c
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user