Diff for /libraries/liblber/decode.c between versions 1.84 and 1.84.2.1

version 1.84, 2002/01/14 00:43:18 version 1.84.2.1, 2002/07/28 19:18:11
Line 1 Line 1
 /* decode.c - ber input decoding routines */  /* decode.c - ber input decoding routines */
 /* $OpenLDAP: pkg/ldap/libraries/liblber/decode.c,v 1.83 2002/01/12 01:23:04 hyc Exp $ */  /* $OpenLDAP: pkg/ldap/libraries/liblber/decode.c,v 1.85 2002/07/11 18:33:24 julius Exp $ */
 /*  /*
  * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.   * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file   * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
Line 643  ber_scanf ( BerElement *ber, Line 643  ber_scanf ( BerElement *ber,
         fmt_reset = fmt;          fmt_reset = fmt;
   
 #ifdef NEW_LOGGING  #ifdef NEW_LOGGING
         LDAP_LOG(( "liblber", LDAP_LEVEL_ENTRY, "ber_scanf fmt (%s) ber:\n", fmt ));          LDAP_LOG( BER, ENTRY, "ber_scanf fmt (%s) ber:\n", fmt, 0, 0 );
         BER_DUMP(( "liblber", LDAP_LEVEL_DETAIL2, ber, 1 ));  
           if ( LDAP_LOGS_TEST(BER, DETAIL2 ))
                           BER_DUMP(( "liblber", LDAP_LEVEL_DETAIL2, ber, 1 ));
 #else  #else
         ber_log_printf( LDAP_DEBUG_TRACE, ber->ber_debug,          ber_log_printf( LDAP_DEBUG_TRACE, ber->ber_debug,
                 "ber_scanf fmt (%s) ber:\n", fmt );                  "ber_scanf fmt (%s) ber:\n", fmt );
Line 796  ber_scanf ( BerElement *ber, Line 798  ber_scanf ( BerElement *ber,
                 default:                  default:
                         if( ber->ber_debug ) {                          if( ber->ber_debug ) {
 #ifdef NEW_LOGGING  #ifdef NEW_LOGGING
                                 LDAP_LOG(( "liblber", LDAP_LEVEL_ERR,                                  LDAP_LOG( BER, ERR, 
                                         "ber_scanf: unknown fmt %c\n", *fmt ));                                          "ber_scanf: unknown fmt %c\n", *fmt, 0, 0 );
 #else  #else
                                 ber_log_printf( LDAP_DEBUG_ANY, ber->ber_debug,                                  ber_log_printf( LDAP_DEBUG_ANY, ber->ber_debug,
                                         "ber_scanf: unknown fmt %c\n", *fmt );                                          "ber_scanf: unknown fmt %c\n", *fmt );

Removed from v.1.84  
changed lines
  Added in v.1.84.2.1


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