Skip to content

Commit

Permalink
TT#136952 fix cw_printf() in cli_list_tag_info()
Browse files Browse the repository at this point in the history
Use `->subscribers.head` instead of `->subscriptions.head`
for the second logging.

Change-Id: Iaaff61aebbe8bcd421a0159f5490903c0ea9c4ea
(cherry picked from commit d9f12ce)
  • Loading branch information
zenichev committed Aug 28, 2023
1 parent 42c3dc1 commit 5e039c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemon/cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,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",
Expand Down

0 comments on commit 5e039c6

Please sign in to comment.