mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 10:39:34 -05:00
fix formatting
This commit is contained in:
parent
4d0a95db04
commit
ef1d8662f0
1 changed files with 3 additions and 4 deletions
|
|
@ -50,17 +50,16 @@ void (lutil_debug)( int level, int debug, const char *fmt, ... )
|
|||
return;
|
||||
|
||||
#ifdef HAVE_WINSOCK
|
||||
if( log_file == NULL )
|
||||
{
|
||||
if( log_file == NULL ) {
|
||||
log_file = fopen( LDAP_RUNDIR LDAP_DIRSEP "openldap.log", "w" );
|
||||
|
||||
if ( log_file == NULL )
|
||||
if ( log_file == NULL )
|
||||
log_file = fopen( "openldap.log", "w" );
|
||||
|
||||
if ( log_file == NULL )
|
||||
return;
|
||||
|
||||
ber_set_option( NULL, LBER_OPT_LOG_PRINT_FILE, log_file );
|
||||
ber_set_option( NULL, LBER_OPT_LOG_PRINT_FILE, log_file );
|
||||
}
|
||||
#endif
|
||||
va_start( vl, fmt );
|
||||
|
|
|
|||
Loading…
Reference in a new issue