X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=libraries%2Flibldap%2Fgetentry.c;h=37e601a6f521513f0491886cf58c3b212ddd3e08;hb=b4243bc119b2f88318103176c7c671662c9ff371;hp=ccdca5ea402e074b3feec2515a125a9ae4beb243;hpb=49d73e12a720cfe052a335d82e67994ff261d21c;p=openldap diff --git a/libraries/libldap/getentry.c b/libraries/libldap/getentry.c index ccdca5ea40..37e601a6f5 100644 --- a/libraries/libldap/getentry.c +++ b/libraries/libldap/getentry.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 */ /* Portions @@ -104,7 +104,7 @@ ldap_get_entry_controls( } /* make a local copy of the BerElement */ - SAFEMEMCPY(&be, entry->lm_ber, sizeof(be)); + AC_MEMCPY(&be, entry->lm_ber, sizeof(be)); if ( ber_scanf( &be, "{xx" /*}*/ ) == LBER_ERROR ) { rc = LDAP_DECODING_ERROR;