TT#82410 fix missing comma for JSON list of objects

Change-Id: I70f022406ad88939534d4b42f291490f461ae8d5
changes/63/40963/1
Richard Fuchs 6 years ago
parent 3c3729f81c
commit 1095440616

@ -232,11 +232,15 @@ void statistics_update_oneway(struct call* c) {
#define SM_PUSH(ret, m) \
do { \
if (!m->is_bracket && ret->tail) { \
struct stats_metric *last = ret->tail->data; \
struct stats_metric *last = NULL; \
if (ret->tail) \
last = ret->tail->data; \
if (!m->is_bracket && last) { \
if (!last->is_bracket || last->is_close_bracket) \
m->is_follow_up = 1; \
} \
else if (m->is_bracket && !m->is_close_bracket && last && last->is_close_bracket) \
m->is_follow_up = 1; \
g_queue_push_tail(ret, m); \
} while (0)

Loading…
Cancel
Save