From: Jérémie Galarneau Date: Mon, 12 Jul 2021 22:42:57 +0000 (-0400) Subject: Fix: sessiond: notification: find_tracer_event_source returns NULL X-Git-Tag: v2.13.0-rc3~7 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=8ec89801730aef6c4af48c45938380e7dec71d59;p=lttng-tools.git Fix: sessiond: notification: find_tracer_event_source returns NULL Due to a bad edit of the original patch (my bad!) find_tracer_event_source_element always returns NULL. Signed-off-by: Jérémie Galarneau Change-Id: I7febee1d803034a06d5063a2cc9179c4edef4809 --- diff --git a/src/bin/lttng-sessiond/notification-thread-events.c b/src/bin/lttng-sessiond/notification-thread-events.c index 109378411..9e5ec5091 100644 --- a/src/bin/lttng-sessiond/notification-thread-events.c +++ b/src/bin/lttng-sessiond/notification-thread-events.c @@ -2125,7 +2125,7 @@ find_tracer_event_source_element(struct notification_thread_state *state, source_element = NULL; end: - return NULL; + return source_element; } static