From 5db1c0d789d95e43c840ff895aa67073f3d2446a Mon Sep 17 00:00:00 2001 From: Sebastian Reimers Date: Wed, 11 Oct 2023 13:30:08 +0200 Subject: [PATCH] fix comma --- src/trace/trace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/trace/trace.c b/src/trace/trace.c index 18114c460..980d41860 100644 --- a/src/trace/trace.c +++ b/src/trace/trace.c @@ -293,7 +293,7 @@ int re_trace_flush(void) re_snprintf(name, sizeof(name), "\"name\":\"%s\"", e->name); if (e->id) { - re_snprintf(id_str, sizeof(id_str), "\"id\":\"%r\"", + re_snprintf(id_str, sizeof(id_str), ", \"id\":\"%r\"", e->id); mem_deref(e->id); }