From c2286ffb00bfb4b7e0fc09b0a327d7e42f487d59 Mon Sep 17 00:00:00 2001 From: David Maciejak Date: Sat, 15 Jun 2019 16:26:31 +0800 Subject: [PATCH] Remove extra comma from the json output related to #412 --- hydra.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/hydra.c b/hydra.c index 51dc65c..756ddb4 100644 --- a/hydra.c +++ b/hydra.c @@ -4084,10 +4084,6 @@ int main(int argc, char *argv[]) { strncat(json_error,tmp_str,STRMAX); strncat(json_error,"\"",STRMAX); error = 1; - if (*json_error) { - strncat(json_error,", ", STRMAX); - } - error = 1; } if (error) { snprintf(tmp_str, STRMAX, "[ERROR] %d target%s did not complete", j, j < 1 ? "" : "s");