X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Fback-sock%2Fresult.c;h=3fba10fa4eea7e98d65244d059fb32d19c5418ff;hb=11594db633381748109ca379067a22e22d8c3691;hp=ac0586603cb4287875aa69e187bdf33b2ff68e7b;hpb=4f4590f110bea406dd09e8fff5caea832274fa61;p=openldap diff --git a/servers/slapd/back-sock/result.c b/servers/slapd/back-sock/result.c index ac0586603c..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-2013 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';