val = condition->threshold_ratio.value * (double) UINT32_MAX;
hash ^= hash_key_u64(&val, lttng_ht_seed);
- } else if (condition->threshold_ratio.set) {
+ } else if (condition->threshold_bytes.set) {
uint64_t val;
val = condition->threshold_bytes.value;
* 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.
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 {