Skip to content
Snippets Groups Projects
Commit 922c3ad9 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Found ber_error_print pieces which I forgot commit.

parent 1ef14875
No related branches found
No related tags found
No related merge requests found
......@@ -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 );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment