X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=libraries%2Flibldap%2Freferences.c;h=a5e5afefd0def458478250a28e0622eb8ca1697e;hb=e4f2c9425afc0f594212aa1697bad779733b96b9;hp=c42f652057cc9ce4ceb773ac92964bcf19df2c95;hpb=6ad1c45bd3a69a398b144b92fbcf9d6653f02607;p=openldap diff --git a/libraries/libldap/references.c b/libraries/libldap/references.c index c42f652057..a5e5afefd0 100644 --- a/libraries/libldap/references.c +++ b/libraries/libldap/references.c @@ -1,6 +1,6 @@ /* $OpenLDAP$ */ /* - * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved. + * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved. * COPYING RESTRICTIONS APPLY, see COPYRIGHT file */ /* @@ -13,7 +13,6 @@ #include -#include #include #include #include @@ -106,7 +105,7 @@ ldap_parse_reference( } /* make a private copy of BerElement */ - SAFEMEMCPY(&be, ref->lm_ber, sizeof(be)); + AC_MEMCPY(&be, ref->lm_ber, sizeof(be)); if ( ber_scanf( &be, "{v" /*}*/, &refs ) == LBER_ERROR ) { rc = LDAP_DECODING_ERROR;