1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-22 20:44:19 +00:00

api.c fix json already closed

This commit is contained in:
Kano 2012-06-28 05:59:31 +10:00
parent 39ff15753c
commit 05b8f5b099

3
api.c
View File

@ -2284,9 +2284,6 @@ static void checkcommand(__maybe_unused SOCKETTYPE c, char *param, bool isjson,
access ? YES : NO);
strcat(io_buffer, buf);
if (isjson)
strcat(io_buffer, JSON_CLOSE);
}
static void send_result(SOCKETTYPE c, bool isjson)