]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/getentry.c
Slightly better fix for library cleanup. Requires GCC.
[openldap] / libraries / libldap / getentry.c
index ccdca5ea402e074b3feec2515a125a9ae4beb243..37e601a6f521513f0491886cf58c3b212ddd3e08 100644 (file)
@@ -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;