Clean-up: typo fixes in notification thread comments
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 7 Nov 2017 23:01:42 +0000 (18:01 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 28 Feb 2018 16:57:34 +0000 (11:57 -0500)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/notification-thread-events.c
src/bin/lttng-sessiond/notification-thread.h

index 6ba6a2e603d01ad3c5a2fffc116b5f006b654870..39462b54306bd916248aca788e59dfc0724b7718 100644 (file)
@@ -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 {
index e59f74f62c46276d4b5b1f89ea75cef7565315e8..c2793b76aab06d5ceb43692fe90ca65989e9de7d 100644 (file)
@@ -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.
  *
This page took 0.027512 seconds and 4 git commands to generate.