Diff for /libraries/libldap/cancel.c between versions 1.9 and 1.10

version 1.9, 2006/01/03 22:12:07 version 1.10, 2006/02/16 04:01:30
Line 1 Line 1
 /* $OpenLDAP: pkg/ldap/libraries/libldap/cancel.c,v 1.8 2005/01/01 19:49:44 kurt Exp $ */  /* $OpenLDAP: pkg/ldap/libraries/libldap/cancel.c,v 1.9 2006/01/03 22:12:07 kurt Exp $ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.  /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *   *
  * Copyright 1998-2006 The OpenLDAP Foundation.   * Copyright 1998-2006 The OpenLDAP Foundation.
Line 13 Line 13
  * <http://www.OpenLDAP.org/license.html>.   * <http://www.OpenLDAP.org/license.html>.
  */   */
 /* ACKNOWLEDGEMENTS:  /* ACKNOWLEDGEMENTS:
  * This program was orignally developed by Kurt D. Zeilenga for inclusion in   * This program was orignally developed by Kurt D. Zeilenga for inclusion
  * OpenLDAP Software.   * in OpenLDAP Software.
  */   */
   
 /*  /*
Line 48  ldap_cancel( Line 48  ldap_cancel(
         cancelidber = ber_alloc_t( LBER_USE_DER );          cancelidber = ber_alloc_t( LBER_USE_DER );
         ber_printf( cancelidber, "{i}", cancelid );          ber_printf( cancelidber, "{i}", cancelid );
         ber_flatten( cancelidber, &cancelidvalp );          ber_flatten( cancelidber, &cancelidvalp );
         rc = ldap_extended_operation( ld, LDAP_EXOP_X_CANCEL,          rc = ldap_extended_operation( ld, LDAP_EXOP_CANCEL,
                         cancelidvalp, sctrls, cctrls, msgidp );                  cancelidvalp, sctrls, cctrls, msgidp );
         ber_free( cancelidber, 1 );          ber_free( cancelidber, 1 );
         return rc;          return rc;
 }  }
Line 68  ldap_cancel_s( Line 68  ldap_cancel_s(
         cancelidber = ber_alloc_t( LBER_USE_DER );          cancelidber = ber_alloc_t( LBER_USE_DER );
         ber_printf( cancelidber, "{i}", cancelid );          ber_printf( cancelidber, "{i}", cancelid );
         ber_flatten( cancelidber, &cancelidvalp );          ber_flatten( cancelidber, &cancelidvalp );
         rc = ldap_extended_operation_s( ld, LDAP_EXOP_X_CANCEL,          rc = ldap_extended_operation_s( ld, LDAP_EXOP_CANCEL,
                         cancelidvalp, sctrls, cctrls, NULL, NULL );                  cancelidvalp, sctrls, cctrls, NULL, NULL );
         ber_free( cancelidber, 1 );          ber_free( cancelidber, 1 );
         return rc;          return rc;
 }  }

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


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