diff --git a/src/utils/unixsock.c b/src/utils/unixsock.c
index 8c0abb2558a7c233bc4836ae3d8e953e91eede61..59bf5631f451e4f401883532e8cd9b1dc4c8791d 100644 (file)
--- a/src/utils/unixsock.c
+++ b/src/utils/unixsock.c
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "utils/unixsock.h"
#include "utils/error.h"
+#include "utils/unixsock.h"
#include <assert.h>
#include <errno.h>
return -1;
}
+ /* enable line-buffering */
+ setvbuf(client->fh, NULL, _IOLBF, 0);
+
client->shutdown = 0;
return 0;
} /* sdb_unixsock_client_connect */