relayd: use bool for is_metadata relay_stream attribute
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 25 Jul 2019 19:35:21 +0000 (15:35 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 9 Aug 2019 15:28:43 +0000 (11:28 -0400)
The `is_metadata` attribute of a relay_stream is currently
a int32_t while it is used as a boolean.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-relayd/stream.h

index a4a6461e69cf218cfa2d573437ada85b12bb3a7d..dfe15f1a045f28d9bde46a56a50603bf352710a9 100644 (file)
@@ -127,7 +127,7 @@ struct relay_stream {
        bool data_pending_check_done;
 
        /* Is this stream a metadata stream ? */
-       int32_t is_metadata;
+       bool is_metadata;
        /* Amount of metadata received (bytes). */
        uint64_t metadata_received;
 
This page took 0.025876 seconds and 4 git commands to generate.