From 50ca78586347fb05a4876e42d3a71e73958403d4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Tue, 7 Nov 2017 18:01:42 -0500 Subject: [PATCH] Clean-up: typo fixes in notification thread comments MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau --- src/bin/lttng-sessiond/notification-thread-events.c | 6 +----- src/bin/lttng-sessiond/notification-thread.h | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/bin/lttng-sessiond/notification-thread-events.c b/src/bin/lttng-sessiond/notification-thread-events.c index 6ba6a2e60..39462b543 100644 --- a/src/bin/lttng-sessiond/notification-thread-events.c +++ b/src/bin/lttng-sessiond/notification-thread-events.c @@ -1014,7 +1014,7 @@ end: * are checked against the channel at that moment. * * If this function returns a non-zero value, it means something is - * fundamentally and the whole subsystem/thread will be torn down. + * fundamentally broken and the whole subsystem/thread will be torn down. * * If a non-fatal error occurs, just set the cmd_result to the appropriate * error code. @@ -1843,10 +1843,6 @@ int client_dispatch_message(struct notification_client *client, if (client->communication.inbound.msg_type == LTTNG_NOTIFICATION_CHANNEL_MESSAGE_TYPE_SUBSCRIBE) { - /* - * FIXME The current state should be evaluated on - * subscription. - */ ret = notification_thread_client_subscribe(client, condition, state, &status); } else { diff --git a/src/bin/lttng-sessiond/notification-thread.h b/src/bin/lttng-sessiond/notification-thread.h index e59f74f62..c2793b76a 100644 --- a/src/bin/lttng-sessiond/notification-thread.h +++ b/src/bin/lttng-sessiond/notification-thread.h @@ -89,7 +89,7 @@ struct notification_thread_handle { * holds the ownership of the struct channel_info. * * - triggers_ht: - * associated a condition to a struct lttng_trigger_ht_element. + * associates a condition to a struct lttng_trigger_ht_element. * The hash table holds the ownership of the * lttng_trigger_ht_elements along with the triggers themselves. * -- 2.34.1