libvirt/examples/c/misc
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
..
event-test.c event-test: Properly terminate strings printed from callbacks 2021-02-19 15:10:48 +01:00
hellolibvirt.c examples: remove unneeded labels 2020-01-07 16:40:41 +01:00
meson.build meson: examples: build and install example files 2020-08-03 09:27:06 +02:00
openauth.c examples: remove unneeded labels 2020-01-07 16:40:41 +01:00