From 05b8f5b0996e20cca41bbac8088b9f65409c42e3 Mon Sep 17 00:00:00 2001 From: Kano Date: Thu, 28 Jun 2012 05:59:31 +1000 Subject: [PATCH] api.c fix json already closed --- api.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/api.c b/api.c index 13cb11c9..c4a0b9f9 100644 --- a/api.c +++ b/api.c @@ -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)