]> git.sur5r.net Git - openldap/commitdiff
ITS#7937 flush data to socket
authorHoward Chu <hyc@openldap.org>
Thu, 11 Sep 2014 09:24:09 +0000 (10:24 +0100)
committerHoward Chu <hyc@openldap.org>
Thu, 11 Sep 2014 09:24:09 +0000 (10:24 +0100)
servers/slapd/back-sock/result.c

index f6e60c40d067d5f574989c01247c9d67325660fc..3fba10fa4eea7e98d65244d059fb32d19c5418ff 100644 (file)
@@ -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';