X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Fback-sock%2Fresult.c;h=3fba10fa4eea7e98d65244d059fb32d19c5418ff;hb=11594db633381748109ca379067a22e22d8c3691;hp=ebc470acfb5523601176da97425d28c71b7dea4c;hpb=88fd28886d04aef10a0887d1907b7b4dd61b7904;p=openldap diff --git a/servers/slapd/back-sock/result.c b/servers/slapd/back-sock/result.c index ebc470acfb..3fba10fa4e 100644 --- a/servers/slapd/back-sock/result.c +++ b/servers/slapd/back-sock/result.c @@ -2,7 +2,7 @@ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software . * - * Copyright 2007-2012 The OpenLDAP Foundation. + * Copyright 2007-2014 The OpenLDAP Foundation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -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';