Diff for /libraries/liblber/dtest.c between versions 1.2.2.5 and 1.3

version 1.2.2.5, 1998/12/31 19:32:05 version 1.3, 1998/11/08 01:31:31
Line 1 Line 1
 /* dtest.c - lber decoding test program */  /* dtest.c - lber decoding test program */
 /*  /*
  * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.  
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file  
  */  
 /* Portions  
  * Copyright (c) 1990 Regents of the University of Michigan.   * Copyright (c) 1990 Regents of the University of Michigan.
  * All rights reserved.   * All rights reserved.
  *   *
Line 22 Line 18
   
 #include <ac/string.h>  #include <ac/string.h>
 #include <ac/socket.h>  #include <ac/socket.h>
 #include <ac/unistd.h>  
   
 #ifdef HAVE_CONSOLE_H  #ifdef HAVE_CONSOLE_H
 #include <console.h>  #include <console.h>
 #endif /* MACOS */  #endif /* MACOS */
   
 #include "lber.h"  #include "lber-int.h"
   
 static void usage( char *name )  static void usage( char *name )
 {  {
Line 43  main( int argc, char **argv ) Line 38  main( int argc, char **argv )
         int             tag;          int             tag;
         BerElement      ber;          BerElement      ber;
         Sockbuf         sb;          Sockbuf         sb;
           extern char     *optarg;
   
 #ifdef HAVE_CONSOLE_H  #ifdef HAVE_CONSOLE_H
         ccommand( &argv );          ccommand( &argv );
Line 63  main( int argc, char **argv ) Line 59  main( int argc, char **argv )
                 fprintf( stderr, "ber_scanf returns -1\n" );                  fprintf( stderr, "ber_scanf returns -1\n" );
                 exit( 1 );                  exit( 1 );
         }          }
         printf( "got int %ld\n", i );          printf( "got int %d\n", i );
   
         return( 0 );          return( 0 );
 }  }

Removed from v.1.2.2.5  
changed lines
  Added in v.1.3


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