mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-22 20:44:19 +00:00
Some servers regularly return empty responses. Drop the message from ERR to INFO.
This commit is contained in:
parent
5a861bf1e4
commit
cdc72daed9
2
util.c
2
util.c
@ -304,7 +304,7 @@ json_t *json_rpc_call(CURL *curl, const char *url,
|
|||||||
rc = curl_easy_perform(curl);
|
rc = curl_easy_perform(curl);
|
||||||
if (rc) {
|
if (rc) {
|
||||||
if (!comms_error)
|
if (!comms_error)
|
||||||
applog(LOG_ERR, "HTTP request failed: %s", curl_err_str);
|
applog(LOG_INFO, "HTTP request failed: %s", curl_err_str);
|
||||||
comms_error = true;
|
comms_error = true;
|
||||||
goto err_out;
|
goto err_out;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user