Fix: text output missing separator when printing the domain
[babeltrace.git] / formats / ctf-text / ctf-text.c
index 017f31113f0f442672339f66958cefa994bdb59c..16f156de6929d3d5aedd68a77e89f24725120f98 100644 (file)
@@ -350,6 +350,8 @@ int ctf_text_write_event(struct bt_stream_pos *ppos, struct ctf_stream_definitio
                set_field_names_print(pos, ITEM_HEADER);
                if (pos->print_names) {
                        fprintf(pos->fp, "trace:domain = ");
+               } else if (dom_print) {
+                       fprintf(pos->fp, ":");
                }
                fprintf(pos->fp, "%s", stream_class->trace->env.domain);
                if (pos->print_names)
This page took 0.023497 seconds and 4 git commands to generate.