Skip to content
Snippets Groups Projects
Commit 43a7a04f708d authored by Kirill Simonov's avatar Kirill Simonov
Browse files

Fixed error handling in run-emitter example.

parent 6430d0c77d17
No related branches found
No related tags found
No related merge requests found
......@@ -290,7 +290,7 @@
assert(event_number < MAX_EVENTS);
assert(copy_event(&(events[event_number++]), &event));
assert(yaml_emitter_emit(&emitter, &event) ||
(yaml_emitter_flush(&emitter) && print_output(argv[number], buffer, written, count)));
print_output(argv[number], buffer, written, count));
count ++;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment