mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-23 04:54:26 +00:00
api.c fix json already closed
This commit is contained in:
parent
39ff15753c
commit
05b8f5b099
3
api.c
3
api.c
@ -2284,9 +2284,6 @@ static void checkcommand(__maybe_unused SOCKETTYPE c, char *param, bool isjson,
|
|||||||
access ? YES : NO);
|
access ? YES : NO);
|
||||||
|
|
||||||
strcat(io_buffer, buf);
|
strcat(io_buffer, buf);
|
||||||
|
|
||||||
if (isjson)
|
|
||||||
strcat(io_buffer, JSON_CLOSE);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void send_result(SOCKETTYPE c, bool isjson)
|
static void send_result(SOCKETTYPE c, bool isjson)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user