projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
collectdctl command hangs on AIX and returns error 0 on Solaris.
[collectd.git]
/
src
/
utils_cmd_listval.c
diff --git
a/src/utils_cmd_listval.c
b/src/utils_cmd_listval.c
index
ef66af5
..
864e5f4
100644
(file)
--- a/
src/utils_cmd_listval.c
+++ b/
src/utils_cmd_listval.c
@@
-44,7
+44,8
@@
WARNING ("handle_listval: failed to write to socket #%i: %s", \
fileno (fh), sstrerror (errno, errbuf, sizeof (errbuf))); \
free_everything_and_return (-1); \
- }
+ } \
+ fflush(fh);
int handle_listval (FILE *fh, char *buffer)
{