From: Jérémie Galarneau Date: Mon, 27 Jul 2020 22:14:30 +0000 (-0400) Subject: Fix: relayd: wrong stream type used in DBG statement X-Git-Tag: v2.12.2~5 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=46c3201e224085248bbaf5652e79bf591f1c21da;p=lttng-tools.git Fix: relayd: wrong stream type used in DBG statement get_next_index() is never invoked for metadata streams; the debug statement was erroneously copy-pasted from the get_metadata() function. Signed-off-by: Jérémie Galarneau Change-Id: Ia57dac7f102eddc78e24781905b390b4fa54bd80 --- diff --git a/src/bin/lttng-relayd/live.c b/src/bin/lttng-relayd/live.c index 423a97975..d5f045824 100644 --- a/src/bin/lttng-relayd/live.c +++ b/src/bin/lttng-relayd/live.c @@ -1545,7 +1545,7 @@ int viewer_get_next_index(struct relay_connection *conn) if (rstream->trace_chunk && !lttng_trace_chunk_ids_equal( conn->viewer_session->current_trace_chunk, rstream->trace_chunk)) { - DBG("Metadata relay stream and viewer chunk ids differ"); + DBG("Relay stream and viewer chunk ids differ"); ret = viewer_session_set_trace_chunk_copy( conn->viewer_session,