X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fnotification-thread-events.c;h=39462b54306bd916248aca788e59dfc0724b7718;hp=6ba6a2e603d01ad3c5a2fffc116b5f006b654870;hb=50ca78586347fb05a4876e42d3a71e73958403d4;hpb=5e1d35335507e1fb2b48513a4004fef4681fa96a 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 {