From: Howard Chu Date: Thu, 11 Sep 2014 09:24:09 +0000 (+0100) Subject: ITS#7937 flush data to socket X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=11594db633381748109ca379067a22e22d8c3691;p=openldap ITS#7937 flush data to socket --- diff --git a/servers/slapd/back-sock/result.c b/servers/slapd/back-sock/result.c index f6e60c40d0..3fba10fa4e 100644 --- a/servers/slapd/back-sock/result.c +++ b/servers/slapd/back-sock/result.c @@ -48,6 +48,7 @@ sock_read_and_send_results( char line[BUFSIZ]; char ebuf[128]; + (void) fflush(fp); /* read in the result and send it along */ buf = (char *) ch_malloc( BUFSIZ ); buf[0] = '\0';