relayd: Implement custom EfficiOS session clear
[lttng-tools.git] / src / bin / lttng-relayd / viewer-stream.c
index 8a3b09a92060ef25e9f9f8f50b2d36d15c2de159..e9d9da2547571ce78518202c068bcc85751117c2 100644 (file)
@@ -115,7 +115,7 @@ struct relay_viewer_stream *viewer_stream_create(struct relay_stream *stream,
         * If we never received an index for the current stream, delay
         * the opening of the index, otherwise open it right now.
         */
-       if (stream->index_received_seqcount == 0) {
+       if (stream->index_file == NULL) {
                vstream->index_file = NULL;
        } else {
                vstream->index_file = lttng_index_file_open(vstream->path_name,
This page took 0.025738 seconds and 5 git commands to generate.