X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Flibcollectdclient%2Fclient.c;h=49a4d8792c5c1aa991d412dd4a95dcaea4d8c8fd;hb=ecbcaadde7dff838f09dfb04c7eb90f126e35abf;hp=726f25d424b2476f84ddaa3584d4e8f91cdf7476;hpb=a05485da75ec42a9aa38354e0d0364885b1ecad9;p=collectd.git diff --git a/src/libcollectdclient/client.c b/src/libcollectdclient/client.c index 726f25d4..49a4d879 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 */