From 922c3ad95491ff6d36d6d7d2438f402710ded163 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sat, 10 Jun 2000 23:13:01 +0000 Subject: [PATCH] Found ber_error_print pieces which I forgot commit. --- libraries/liblber/bprint.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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 ); -- 2.39.5