Diff for /include/ldap_log.h between versions 1.8 and 1.9

version 1.8, 1999/04/01 14:38:46 version 1.9, 1999/04/29 22:53:10
Line 58  extern int ldap_syslog_level; Line 58  extern int ldap_syslog_level;
 /* this doesn't below as part of ldap.h */  /* this doesn't below as part of ldap.h */
 #ifdef LDAP_SYSLOG  #ifdef LDAP_SYSLOG
 #define Debug( level, fmt, arg1, arg2, arg3 )   \  #define Debug( level, fmt, arg1, arg2, arg3 )   \
         { \          do { \
                 if ( ldap_debug & (level) ) \                  if ( ldap_debug & (level) ) \
                         fprintf( stderr, (fmt), (arg1), (arg2), (arg3) ); \                          fprintf( stderr, (fmt), (arg1), (arg2), (arg3) ); \
                 if ( ldap_syslog & (level) ) \                  if ( ldap_syslog & (level) ) \
                         syslog( ldap_syslog_level, (fmt), (arg1), (arg2), (arg3) ); \                          syslog( ldap_syslog_level, (fmt), (arg1), (arg2), (arg3) ); \
         }          } while ( 0 )
 #else /* LDAP_SYSLOG */  #else /* LDAP_SYSLOG */
 #ifndef HAVE_WINSOCK  #ifndef HAVE_WINSOCK
 #define Debug( level, fmt, arg1, arg2, arg3 ) \  #define Debug( level, fmt, arg1, arg2, arg3 ) \
           do { \
                 if ( ldap_debug & (level) ) \                  if ( ldap_debug & (level) ) \
                         fprintf( stderr, (fmt), (arg1), (arg2), (arg3) );                          fprintf( stderr, (fmt), (arg1), (arg2), (arg3) ); \
           } while ( 0 )
 #else /* !WINSOCK */  #else /* !WINSOCK */
 extern void Debug( int level, char* fmt, ... );  extern void Debug( int level, char* fmt, ... );
 #endif /* !WINSOCK */  #endif /* !WINSOCK */

Removed from v.1.8  
changed lines
  Added in v.1.9


______________
© Copyright 1998-2020, OpenLDAP Foundation, info@OpenLDAP.org