]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/references.c
Sync with 2.x
[openldap] / libraries / libldap / references.c
index c42f652057cc9ce4ceb773ac92964bcf19df2c95..6a6d723356bdd161edc524303f995e1af03e9e7f 100644 (file)
@@ -13,7 +13,6 @@
 
 #include <ac/stdlib.h>
 
-#include <ac/ctype.h>
 #include <ac/socket.h>
 #include <ac/string.h>
 #include <ac/time.h>
@@ -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;