]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/dsparse.c
ITS#837: fix server down abandon bug
[openldap] / libraries / libldap / dsparse.c
index 57d80a541cf11410dfb73cedacb91f6b66a8a2e4..2b7771c5bdf1b74dbcbf3d1d4fcbb2ff5c91cdbd 100644 (file)
@@ -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 ));