Fix: send the streams sent message after metadata
[lttng-tools.git] / src / bin / lttng-relayd / main.c
index fe4a898bc6d349dfd866218e597d77ef12a746aa..d8105e4058128bdc9a902bb8051fc991971f2b90 100644 (file)
@@ -1350,11 +1350,7 @@ int relay_add_stream(struct lttcomm_relayd_hdr *recv_hdr,
         * stream message is received, this list is emptied and streams are set
         * with the viewer ready flag.
         */
-       if (stream->metadata_flag) {
-               stream->viewer_ready = 1;
-       } else {
-               queue_stream_handle(stream->stream_handle, cmd);
-       }
+       queue_stream_handle(stream->stream_handle, cmd);
 
        lttng_ht_node_init_ulong(&stream->stream_n,
                        (unsigned long) stream->stream_handle);
This page took 0.024217 seconds and 4 git commands to generate.