From: Jérémie Galarneau Date: Sun, 23 Aug 2015 04:28:57 +0000 (-0400) Subject: Clean-up: Coding-style conformance adjustments X-Git-Tag: v2.8.0-rc1~471 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=87c6e3280d90742c27d20de37d64e8c075830b3a;p=lttng-tools.git Clean-up: Coding-style conformance adjustments Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-sessiond/event.c b/src/bin/lttng-sessiond/event.c index 85b41bed0..9f4124ae7 100644 --- a/src/bin/lttng-sessiond/event.c +++ b/src/bin/lttng-sessiond/event.c @@ -208,9 +208,9 @@ int event_ust_enable_tracepoint(struct ltt_ust_session *usess, uevent = trace_ust_find_event(uchan->events, event->name, filter, event->loglevel, exclusion); - if (uevent == NULL) { + if (!uevent) { uevent = trace_ust_create_event(event, filter_expression, - filter, exclusion); + filter, exclusion, internal_event); /* We have passed ownership */ filter_expression = NULL; filter = NULL;