mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 07:17:58 +00:00
util correct applog typing
This commit is contained in:
parent
65af59b754
commit
2ce2f8d8eb
2
util.c
2
util.c
@ -453,7 +453,7 @@ json_t *json_rpc_call(CURL *curl, const char *url,
|
|||||||
applog(LOG_INFO, "JSON decode failed(%d): %s", err.line, err.text);
|
applog(LOG_INFO, "JSON decode failed(%d): %s", err.line, err.text);
|
||||||
|
|
||||||
if (opt_protocol)
|
if (opt_protocol)
|
||||||
applog(LOG_DEBUG, "JSON protocol response:\n%s", all_data.buf);
|
applog(LOG_DEBUG, "JSON protocol response:\n%s", (char *)(all_data.buf));
|
||||||
|
|
||||||
goto err_out;
|
goto err_out;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user