Pretty-print 0-value timestamps
[babeltrace.git] / formats / ctf-text / ctf-text.c
index 361c527cce7a90d491a04b08a7d71f706bc19c62..d169caac803f80ded578db162837b184c83b3997 100644 (file)
@@ -145,7 +145,7 @@ int ctf_text_write_event(struct stream_pos *ppos,
                return -EINVAL;
        }
 
-       if (stream->timestamp) {
+       if (stream->has_timestamp) {
                if (pos->print_names)
                        fprintf(pos->fp, "timestamp = ");
                else
This page took 0.022829 seconds and 4 git commands to generate.