Browse Source

api.c fix json already closed

Kano 13 years ago
parent
commit
05b8f5b099
1 changed files with 0 additions and 3 deletions
  1. 0 3
      api.c

+ 0 - 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)