From: Kurt Zeilenga Date: Sat, 10 Jun 2000 23:13:01 +0000 (+0000) Subject: Found ber_error_print pieces which I forgot commit. X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~2665 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=922c3ad95491ff6d36d6d7d2438f402710ded163;p=openldap Found ber_error_print pieces which I forgot commit. --- diff --git a/libraries/liblber/bprint.c b/libraries/liblber/bprint.c index bafbdc3740..e7569dc377 100644 --- a/libraries/liblber/bprint.c +++ b/libraries/liblber/bprint.c @@ -46,16 +46,14 @@ void ber_error_print( LDAP_CONST char *data ) { assert( data != NULL ); - if (!ber_pvt_err_file) - ber_pvt_err_file = stderr; + if (!ber_pvt_err_file) ber_pvt_err_file = stderr; fputs( data, ber_pvt_err_file ); /* Print to both streams */ - if (ber_pvt_err_file != stderr) - { - fputs( data, stderr ); - fflush( stderr ); + if (ber_pvt_err_file != stderr) { + fputs( data, stderr ); + fflush( stderr ); } fflush( ber_pvt_err_file );