1
0
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:
Con Kolivas 2011-07-19 09:26:23 +10:00
parent 5a861bf1e4
commit cdc72daed9

2
util.c
View File

@ -304,7 +304,7 @@ json_t *json_rpc_call(CURL *curl, const char *url,
rc = curl_easy_perform(curl);
if (rc) {
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;
goto err_out;
}