Diff for /libraries/liblber/dtest.c between versions 1.21.8.2 and 1.21.8.3

version 1.21.8.2, 1999/09/10 20:25:24 version 1.21.8.3, 2000/06/13 17:57:17
Line 1 Line 1
 /* dtest.c - lber decoding test program */  /* dtest.c - lber decoding test program */
 /* $OpenLDAP: pkg/ldap/libraries/liblber/dtest.c,v 1.23 1999/09/08 17:06:27 kdz Exp $ */  /* $OpenLDAP: pkg/ldap/libraries/liblber/dtest.c,v 1.25 2000/06/01 18:59:21 kurt Exp $ */
 /*  /*
  * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.   * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file   * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
  */   */
 /* Portions  /* Portions
Line 47  main( int argc, char **argv ) Line 47  main( int argc, char **argv )
   
         BerElement      *ber;          BerElement      *ber;
         Sockbuf         *sb;          Sockbuf         *sb;
           int             fd;
   
         /* enable debugging */          /* enable debugging */
         int ival = -1;          int ival = -1;
Line 62  main( int argc, char **argv ) Line 63  main( int argc, char **argv )
         cshow( stdout );          cshow( stdout );
 #endif  #endif
   
         sb = ber_sockbuf_alloc_fd( fileno(stdin) );          sb = ber_sockbuf_alloc();
           fd = fileno( stdin );
           ber_sockbuf_add_io( sb, &ber_sockbuf_io_fd, LBER_SBIOD_LEVEL_PROVIDER,
                   (void *)&fd );
   
         if( (ber = ber_alloc_t(LBER_USE_DER)) == NULL ) {          if( (ber = ber_alloc_t(LBER_USE_DER)) == NULL ) {
                 perror( "ber_alloc_t" );                  perror( "ber_alloc_t" );

Removed from v.1.21.8.2  
changed lines
  Added in v.1.21.8.3


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