mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-09 16:34:45 -05:00
Found ber_error_print pieces which I forgot commit.
This commit is contained in:
parent
1ef14875db
commit
922c3ad954
1 changed files with 4 additions and 6 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Reference in a new issue