From: Jérémie Galarneau Date: Thu, 25 Jul 2019 19:35:21 +0000 (-0400) Subject: relayd: use bool for is_metadata relay_stream attribute X-Git-Tag: v2.11.0-rc3~92 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=c45331c54adddb0fee9e829f620cc289ab93a744;p=lttng-tools.git relayd: use bool for is_metadata relay_stream attribute 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 --- diff --git a/src/bin/lttng-relayd/stream.h b/src/bin/lttng-relayd/stream.h index a4a6461e6..dfe15f1a0 100644 --- a/src/bin/lttng-relayd/stream.h +++ b/src/bin/lttng-relayd/stream.h @@ -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;