X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fconsumer.c;h=16521a8b863788fd957b756d7c4882f6b3c5abbd;hp=4f83639d5d8ded41abaa03cb0c649f907bd0df1a;hb=8fa0b55b4931b9b5294120b20259be73b0b87ad5;hpb=54c90d10655e559818665234f29d5d01c8640ee7 diff --git a/src/common/consumer.c b/src/common/consumer.c index 4f83639d5..16521a8b8 100644 --- a/src/common/consumer.c +++ b/src/common/consumer.c @@ -243,7 +243,7 @@ static void destroy_relayd(struct consumer_relayd_sock_pair *relayd) lttng_ht_lookup(relayd_session_id_ht, (void *)((unsigned long) relayd->sessiond_session_id), &iter); node = lttng_ht_iter_get_node_ulong(&iter); - if (node != NULL) { + if (node == NULL) { /* We assume the relayd is being or is destroyed */ return; }