]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/lock.c
cleanup comments
[openldap] / servers / slapd / lock.c
index 29d89ad270a056f00712b86a89141770030626d0..fb5c5bb7152ed1749545cadfecc5439047c85ba9 100644 (file)
@@ -18,6 +18,7 @@
 #include <sys/file.h>
 #endif
 
+#include <lutil.h>
 #include "slap.h"
 
 FILE *
@@ -27,7 +28,7 @@ lock_fopen( const char *fname, const char *type, FILE **lfp )
        char    buf[MAXPATHLEN];
 
        /* open the lock file */
-       strcpy(slap_strcopy( buf, fname ), ".lock" );
+       strcpy(lutil_strcopy( buf, fname ), ".lock" );
        if ( (*lfp = fopen( buf, "w" )) == NULL ) {
 #ifdef NEW_LOGGING
                LDAP_LOG( OPERATION, ERR,