Code

collectdctl command hangs on AIX and returns error 0 on Solaris.
[collectd.git] / src / libcollectdclient / client.c
index 726f25d424b2476f84ddaa3584d4e8f91cdf7476..49a4d8792c5c1aa991d412dd4a95dcaea4d8c8fd 100644 (file)
@@ -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 */