Diff for /libraries/liblber/decode.c between versions 1.5 and 1.5.2.3

version 1.5, 1998/10/24 23:41:55 version 1.5.2.3, 1998/11/16 23:24:23
Line 14 Line 14
 #include "portable.h"  #include "portable.h"
   
 #include <stdio.h>  #include <stdio.h>
   
 #ifdef STDC_HEADERS  
 #include <stdlib.h>  #include <stdlib.h>
 #include <stdarg.h>  
 #else  #include <ac/stdarg.h>
 #include <varargs.h>  
 #endif  
   
 #include <ac/string.h>  #include <ac/string.h>
 #include <ac/socket.h>  #include <ac/socket.h>
Line 40  ber_get_tag( BerElement *ber ) Line 36  ber_get_tag( BerElement *ber )
         unsigned char   xbyte;          unsigned char   xbyte;
         unsigned long   tag;          unsigned long   tag;
         char            *tagp;          char            *tagp;
         int             i;          unsigned int    i;
   
         if ( ber_read( ber, (char *) &xbyte, 1 ) != 1 )          if ( ber_read( ber, (char *) &xbyte, 1 ) != 1 )
                 return( LBER_DEFAULT );                  return( LBER_DEFAULT );
Line 367  ber_next_element( BerElement *ber, unsig Line 363  ber_next_element( BerElement *ber, unsig
 /* VARARGS */  /* VARARGS */
 unsigned long  unsigned long
 ber_scanf  ber_scanf
 #ifdef STDC_HEADERS  #if HAVE_STDARG
         ( BerElement *ber, char *fmt, ... )          ( BerElement *ber, char *fmt, ... )
 #else  #else
         ( va_alist )          ( va_alist )
Line 375  va_dcl Line 371  va_dcl
 #endif  #endif
 {  {
         va_list         ap;          va_list         ap;
 #ifndef STDC_HEADERS  #ifndef HAVE_STDARG
         BerElement      *ber;          BerElement      *ber;
         char            *fmt;          char            *fmt;
 #endif  #endif
Line 383  va_dcl Line 379  va_dcl
         char            *s, **ss, ***sss;          char            *s, **ss, ***sss;
         struct berval   ***bv, **bvp, *bval;          struct berval   ***bv, **bvp, *bval;
         int             *i, j;          int             *i, j;
         long            *l, rc, tag;          long            *l;
         unsigned long   len;          unsigned long   rc, tag, len;
   
 #if STDC_HEADERS  #ifdef HAVE_STDARG
         va_start( ap, fmt );          va_start( ap, fmt );
 #else  #else
         va_start( ap );          va_start( ap );

Removed from v.1.5  
changed lines
  Added in v.1.5.2.3


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