From 9e6199c7b96495e6db6b9175a107524a1616521f Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Tue, 11 Dec 2018 10:58:29 -0500 Subject: [PATCH] don't skip incomplete monologues for `query` Change-Id: I54b957b08440d7d31b26ef7fe99a31073171ae82 --- daemon/call_interfaces.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/call_interfaces.c b/daemon/call_interfaces.c index 2a106d041..c2d64799d 100644 --- a/daemon/call_interfaces.c +++ b/daemon/call_interfaces.c @@ -1143,7 +1143,7 @@ static void ng_stats_monologue(bencode_item_t *dict, const struct call_monologue if (!dict) goto stats; - sub = bencode_dictionary_add_dictionary(dict, ml->tag.s); + sub = bencode_dictionary_add_dictionary(dict, ml->tag.s ? : ""); bencode_dictionary_add_str(sub, "tag", &ml->tag); if (ml->viabranch.s)