From: Kurt Zeilenga Date: Thu, 17 Oct 2002 17:08:01 +0000 (+0000) Subject: Add OPLv2.0.1 location note X-Git-Tag: OPENLDAP_REL_ENG_2_1_7~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbad659d2d2587ab0a60b516e9ac950da7145958;p=thirdparty%2Fopenldap.git Add OPLv2.0.1 location note --- diff --git a/libraries/liblber/memory.c b/libraries/liblber/memory.c index fb68dd5c14..e2381a7665 100644 --- a/libraries/liblber/memory.c +++ b/libraries/liblber/memory.c @@ -681,7 +681,7 @@ ber_bvarray_add( BerVarray *a, BerValue *bv ) } } else { - BerVarray *atmp; + BerVarray atmp; BER_MEM_VALID( a ); for ( n = 0; *a != NULL && (*a)[n].bv_val != NULL; n++ ) { @@ -692,14 +692,14 @@ ber_bvarray_add( BerVarray *a, BerValue *bv ) return n; } - *atmp = (BerValue *) LBER_REALLOC( (char *) *a, + atmp = (BerValue *) LBER_REALLOC( (char *) *a, (n + 2) * sizeof(BerValue) ); - if( *atmp == NULL ) { + if( atmp == NULL ) { return -1; } - *a = *atmp; + *a = atmp; } (*a)[n++] = *bv; diff --git a/libraries/libldap/controls.c b/libraries/libldap/controls.c index 3d9f3a5ac5..6701defb9b 100644 --- a/libraries/libldap/controls.c +++ b/libraries/libldap/controls.c @@ -382,6 +382,10 @@ ldap_control_dup( const LDAPControl *c ) * Modification to OpenLDAP source by Novell, Inc. * June 2000 sfs Added control utilities */ +/* Note: A verbatim copy of version 2.0.1 of the OpenLDAP Public License + * can be found in the file "build/LICENSE-2.0.1" in this distribution + * of OpenLDAP Software. + */ /*--- ldap_create_control diff --git a/libraries/libldap/request.c b/libraries/libldap/request.c index ed80127306..b1ed8dba4a 100644 --- a/libraries/libldap/request.c +++ b/libraries/libldap/request.c @@ -26,6 +26,10 @@ * April 2000 sfs Added code to chase V3 referrals * request.c - sending of ldap requests; handling of referrals */ +/* Note: A verbatim copy of version 2.0.1 of the OpenLDAP Public License + * can be found in the file "build/LICENSE-2.0.1" in this distribution + * of OpenLDAP Software. + */ #include "portable.h" diff --git a/libraries/libldap/result.c b/libraries/libldap/result.c index 2f82aa9422..7ea3a474f4 100644 --- a/libraries/libldap/result.c +++ b/libraries/libldap/result.c @@ -27,6 +27,10 @@ * * result.c - wait for an ldap result */ +/* Note: A verbatim copy of version 2.0.1 of the OpenLDAP Public License + * can be found in the file "build/LICENSE-2.0.1" in this distribution + * of OpenLDAP Software. + */ /* * LDAPv3 (RFC2251) diff --git a/libraries/libldap/sortctrl.c b/libraries/libldap/sortctrl.c index f215a839d2..37bf38f2e9 100644 --- a/libraries/libldap/sortctrl.c +++ b/libraries/libldap/sortctrl.c @@ -16,6 +16,10 @@ * THE PERPETRATOR TO CRIMINAL AND CIVIL LIABILITY. * *---*/ +/* Note: A verbatim copy of version 2.0.1 of the OpenLDAP Public License + * can be found in the file "build/LICENSE-2.0.1" in this distribution + * of OpenLDAP Software. + */ #include "portable.h" diff --git a/libraries/libldap/utf-8-conv.c b/libraries/libldap/utf-8-conv.c index 9b51bcd6f6..e5aeeeca36 100644 --- a/libraries/libldap/utf-8-conv.c +++ b/libraries/libldap/utf-8-conv.c @@ -17,6 +17,10 @@ * PUBLIC LICENSE, OR OTHER PRIOR WRITTEN CONSENT FROM NOVELL, COULD SUBJECT * THE PERPETRATOR TO CRIMINAL AND CIVIL LIABILITY. ******************************************************************************/ +/* Note: A verbatim copy of version 2.0.1 of the OpenLDAP Public License + * can be found in the file "build/LICENSE-2.0.1" in this distribution + * of OpenLDAP Software. + */ /* * UTF-8 Conversion Routines diff --git a/libraries/libldap/vlvctrl.c b/libraries/libldap/vlvctrl.c index 0ee5ed2ab4..64b5cfe5ab 100644 --- a/libraries/libldap/vlvctrl.c +++ b/libraries/libldap/vlvctrl.c @@ -15,6 +15,10 @@ * PUBLIC LICENSE, OR OTHER PRIOR WRITTEN CONSENT FROM NOVELL, COULD SUBJECT * THE PERPETRATOR TO CRIMINAL AND CIVIL LIABILITY. *---*/ +/* Note: A verbatim copy of version 2.0.1 of the OpenLDAP Public License + * can be found in the file "build/LICENSE-2.0.1" in this distribution + * of OpenLDAP Software. + */ #include "portable.h"