mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 07:17:58 +00:00
Get rid of extra line feeds.
This commit is contained in:
parent
37115c0e1b
commit
5f667e7eab
4
util.c
4
util.c
@ -233,7 +233,7 @@ static size_t resp_hdr_cb(void *ptr, size_t size, size_t nmemb, void *user_data)
|
|||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
if (opt_protocol)
|
if (opt_protocol)
|
||||||
applog(LOG_DEBUG, "HTTP hdr(%s): %s\n", key, val);
|
applog(LOG_DEBUG, "HTTP hdr(%s): %s", key, val);
|
||||||
|
|
||||||
if (!strcasecmp("X-Roll-Ntime", key)) {
|
if (!strcasecmp("X-Roll-Ntime", key)) {
|
||||||
applog(LOG_INFO, "X-Roll-Ntime found");
|
applog(LOG_INFO, "X-Roll-Ntime found");
|
||||||
@ -350,7 +350,7 @@ json_t *json_rpc_call(CURL *curl, const char *url,
|
|||||||
curl_easy_setopt(curl, CURLOPT_POST, 1);
|
curl_easy_setopt(curl, CURLOPT_POST, 1);
|
||||||
|
|
||||||
if (opt_protocol)
|
if (opt_protocol)
|
||||||
applog(LOG_DEBUG, "JSON protocol request:\n%s\n", rpc_req);
|
applog(LOG_DEBUG, "JSON protocol request:\n%s", rpc_req);
|
||||||
|
|
||||||
upload_data.buf = rpc_req;
|
upload_data.buf = rpc_req;
|
||||||
upload_data.len = strlen(rpc_req);
|
upload_data.len = strlen(rpc_req);
|
||||||
|
Loading…
Reference in New Issue
Block a user