]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/dsparse.c
More cleanup in ldap_pvt_tls_destroy()
[openldap] / libraries / libldap / dsparse.c
index 57d80a541cf11410dfb73cedacb91f6b66a8a2e4..369f436b4068ce4d557026641ab75d95f15c5e13 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
@@ -135,7 +135,7 @@ next_line( char **bufp, ber_len_t *blenp, char **linep )
        return( -1 );   /* fatal error */
     }
 
-    (void) memcpy( line, linestart, p - linestart );
+    AC_MEMCPY( line, linestart, p - linestart );
     line[ p - linestart - 1 ] = '\0';
     *linep = line;
     return( strlen( line ));