Fix: stream_per_chan_id_ht should allow duplicates
authorJulien Desfossez <jdesfossez@efficios.com>
Fri, 10 Nov 2017 21:22:13 +0000 (16:22 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 25 Apr 2018 15:26:04 +0000 (11:26 -0400)
Fixes: #1134
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/consumer/consumer.c

index 73ccbf6bd3b316e4606dd2acaeb628819099a3f7..22f223694270e67e28b70267c01579a846a1e53e 100644 (file)
@@ -2159,7 +2159,7 @@ int consumer_add_metadata_stream(struct lttng_consumer_stream *stream)
 
        lttng_ht_add_unique_u64(ht, &stream->node);
 
-       lttng_ht_add_unique_u64(consumer_data.stream_per_chan_id_ht,
+       lttng_ht_add_u64(consumer_data.stream_per_chan_id_ht,
                &stream->node_channel_id);
 
        /*
This page took 0.02792 seconds and 4 git commands to generate.