libvirt/examples/c
Kristina Hanicova 4fc755bec1 event-test: Properly terminate strings printed from callbacks
Stdio was buffering strings in functions:
myDomainEventBlockJobCallback,
myDomainEventBlockThresholdCallback,
myDomainEventMemoryFailureCallback. It caused flushing the
printed strings from callbacks at the end of a run, not
gradually. The solution is to add \n at the end of each string.

Signed-off-by: Kristina Hanicova <khanicov@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Ján Tomko <jtomko@redhat.com>
2021-02-19 15:10:48 +01:00
..
admin examples: fix misc spelling errors reported by codespell 2020-10-05 10:28:46 +01:00
domain examples: fix misc spelling errors reported by codespell 2020-10-05 10:28:46 +01:00
misc event-test: Properly terminate strings printed from callbacks 2021-02-19 15:10:48 +01:00
meson.build meson: examples: build and install example files 2020-08-03 09:27:06 +02:00