Browse Source

TT#136952 fix `cw_printf()` in `cli_list_tag_info()`

Use `->subscribers.head` instead of `->subscriptions.head`
for the second logging.

Change-Id: Iaaff61aebbe8bcd421a0159f5490903c0ea9c4ea
pull/1759/head
Donat Zenichev 2 years ago
parent
commit
d9f12ce27b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      daemon/cli.c

+ 1
- 1
daemon/cli.c View File

@ -664,7 +664,7 @@ static void cli_list_tag_info(struct cli_writer *cw, struct call_monologue *ml)
cw->cw_printf(cw, "--- subscribed to '" STR_FORMAT_M "'\n",
STR_FMT_M(&csm->tag));
}
for (GList *sub = ml->subscriptions.head; sub; sub = sub->next) {
for (GList *sub = ml->subscribers.head; sub; sub = sub->next) {
struct call_subscription *cs = sub->data;
struct call_monologue *csm = cs->monologue;
cw->cw_printf(cw, "--- subscription of '" STR_FORMAT_M "'\n",


Loading…
Cancel
Save