Commit 922c3ad9 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Found ber_error_print pieces which I forgot commit.

parent 1ef14875
......@@ -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 );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment