index d3cf3834dea42885ff6df3d4695b53bf38d64872..d09eeb3ee75eba0eabb554f784f287968b4239c9 100644 (file)
--- a/src/utils_cmd_putnotif.c
+++ b/src/utils_cmd_putnotif.c
WARNING ("handle_putnotif: failed to write to socket #%i: %s", \
fileno (fh), sstrerror (errno, errbuf, sizeof (errbuf))); \
return -1; \
- }
+ } \
+ fflush(fh);
static int set_option_severity (notification_t *n, const char *value)
{