Diff for /libraries/liblber/dtest.c between versions 1.10 and 1.11

version 1.10, 1999/03/03 14:25:44 version 1.11, 1999/03/03 14:35:29
Line 28 Line 28
 #include <console.h>  #include <console.h>
 #endif /* MACOS */  #endif /* MACOS */
   
 #include "lber-int.h"  #include <lber.h>
   
 static void usage( char *name )  static void usage( char *name )
 {  {
Line 62  main( int argc, char **argv ) Line 62  main( int argc, char **argv )
         }          }
         printf( "message has tag 0x%x and length %ld\n", tag, len );          printf( "message has tag 0x%x and length %ld\n", tag, len );
   
         if ( ber_scanf( ber, "i", &i ) == LBER_ERROR ) {          if ( ber_scanf( ber, "i", &i ) == -1 ) {
                 fprintf( stderr, "ber_scanf returns -1\n" );                  fprintf( stderr, "ber_scanf returns -1\n" );
                 exit( 1 );                  exit( 1 );
         }          }

Removed from v.1.10  
changed lines
  Added in v.1.11


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