From: Mathieu Desnoyers Date: Tue, 22 Nov 2011 08:57:31 +0000 (+0100) Subject: Fix multi-channel listing X-Git-Tag: v2.0-pre15~88 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=befe0905b6d1df666fa6238609f2cd757375ebb8;p=lttng-tools.git Fix multi-channel listing Signed-off-by: Mathieu Desnoyers --- diff --git a/lttng-sessiond/main.c b/lttng-sessiond/main.c index 7fe0f9a4b..f63c35155 100644 --- a/lttng-sessiond/main.c +++ b/lttng-sessiond/main.c @@ -1915,6 +1915,7 @@ static void list_lttng_channels(int domain, struct ltt_session *session, channels[i].attr.read_timer_interval = uchan->attr.read_timer_interval; channels[i].attr.output = uchan->attr.output; + i++; } break; }