X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Flibcollectdclient%2Fclient.c;h=9ad61f6410a28db3331738147dd534beb72cf8b1;hb=ca316d91e178412604ea8462dc60a8bc32cbfc87;hp=20015be9dff4faa9e71152b1d1a9eed21e12230c;hpb=9679723b9f177055ef93d0b1bbb420cca7ac6ea4;p=collectd.git diff --git a/src/libcollectdclient/client.c b/src/libcollectdclient/client.c index 20015be9..9ad61f64 100644 --- a/src/libcollectdclient/client.c +++ b/src/libcollectdclient/client.c @@ -258,6 +258,7 @@ static int lcc_send (lcc_connection_t *c, const char *command) /* {{{ */ lcc_set_errno (c, errno); return (-1); } + fflush(c->fh); return (0); } /* }}} int lcc_send */