Diff for /libraries/libldap/sasl.c between versions 1.23 and 1.25

version 1.23, 2000/06/01 18:59:22 version 1.25, 2000/06/07 03:17:29
Line 1 Line 1
 /* $OpenLDAP: pkg/ldap/libraries/libldap/sasl.c,v 1.22 2000/05/16 02:52:37 kurt Exp $ */  /* $OpenLDAP: pkg/ldap/libraries/libldap/sasl.c,v 1.24 2000/06/01 20:01:01 kurt Exp $ */
 /*  /*
  * Copyright 1998-2000 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
Line 588  sb_sasl_read( Sockbuf_IO_Desc *sbiod, vo Line 588  sb_sasl_read( Sockbuf_IO_Desc *sbiod, vo
   
         p->buf_in.buf_size = p->buf_in.buf_end;          p->buf_in.buf_size = p->buf_in.buf_end;
   
         bufptr += ber_pvt_sb_copy_out( &p->buf_in, buf + bufptr, len );          bufptr += ber_pvt_sb_copy_out( &p->buf_in, (char*) buf + bufptr, len );
   
         return bufptr;          return bufptr;
 }  }
Line 742  ldap_pvt_sasl_getmechs ( LDAP *ld, char Line 742  ldap_pvt_sasl_getmechs ( LDAP *ld, char
         mechlist = array2str( values );          mechlist = array2str( values );
         if ( mechlist == NULL ) {          if ( mechlist == NULL ) {
                 ld->ld_errno = LDAP_NO_MEMORY;                  ld->ld_errno = LDAP_NO_MEMORY;
                 ldap_value_free( values );                  LDAP_VFREE( values );
                 ldap_msgfree( res );                  ldap_msgfree( res );
                 return ld->ld_errno;                  return ld->ld_errno;
         }           } 
   
         ldap_value_free( values );          LDAP_VFREE( values );
         ldap_msgfree( res );          ldap_msgfree( res );
   
         *pmechlist = mechlist;          *pmechlist = mechlist;

Removed from v.1.23  
changed lines
  Added in v.1.25


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