Fix: UST context activation
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 26 Mar 2013 02:35:46 +0000 (22:35 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Tue, 26 Mar 2013 13:38:45 +0000 (09:38 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-sessiond/context.c

index a83cb46fc9dec796868dbb95157d901cb46cdb70..b55254b4e398d0bfd55604c5fb8353dd3ba7f43a 100644 (file)
@@ -262,7 +262,7 @@ int context_ust_add(struct ltt_ust_session *usess, int domain,
        }
 
        /* Get UST channel if defined */
-       if (channel_name != '\0') {
+       if (channel_name[0] != '\0') {
                uchan = trace_ust_find_channel_by_name(chan_ht, channel_name);
                if (uchan == NULL) {
                        ret = LTTNG_ERR_UST_CHAN_NOT_FOUND;
This page took 0.025593 seconds and 4 git commands to generate.