Fix: src.ctf.fs: do not use trace IR objects in queries
[babeltrace.git] / plugins / ctf / fs-src / data-stream-file.c
index bafa80de5a6378fd8c783aa99123e232d070e880..e1041151e6aa094108ce4a9fc86612a456b6cebd 100644 (file)
@@ -611,7 +611,7 @@ struct ctf_fs_ds_index *build_index_from_stream_file(
                }
        } while (iter_status == BT_MSG_ITER_STATUS_OK);
 
-       if (iter_status != BT_MSG_ITER_STATUS_EOF) {
+       if (iter_status != BT_MSG_ITER_STATUS_OK) {
                goto error;
        }
 
This page took 0.030685 seconds and 4 git commands to generate.