Reported-by: Coverity Scan
** CID
1374796: Error handling issues (CHECKED_RETURN)
/src/lib/lttng-ctl/channel.c: 84 in receive_message()
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
hash ^= hash_key_str(condition->session_name, lttng_ht_seed);
}
if (condition->channel_name) {
hash ^= hash_key_str(condition->session_name, lttng_ht_seed);
}
if (condition->channel_name) {
- hash ^= hash_key_str(condition->session_name, lttng_ht_seed);
+ hash ^= hash_key_str(condition->channel_name, lttng_ht_seed);
}
if (condition->domain.set) {
hash ^= hash_key_ulong(
}
if (condition->domain.set) {
hash ^= hash_key_ulong(