]> git.sur5r.net Git - openldap/commitdiff
filecheck(), we should strcpy the file passed (f arg) and not always slapd_replogfile...
authorBen Collins <bcollins@openldap.org>
Mon, 24 Apr 2000 16:47:41 +0000 (16:47 +0000)
committerBen Collins <bcollins@openldap.org>
Mon, 24 Apr 2000 16:47:41 +0000 (16:47 +0000)
servers/slurpd/sanity.c

index 56886ff420ccef02d05a09bdfbf58b8b59d49cb4..ab6880c0b0c09686d961372ed63d270b42db2e69 100644 (file)
@@ -174,7 +174,7 @@ filecheck(
     char               *p;
     unsigned int       ret = 0;
 
-    strcpy( dir, sglob->slapd_replogfile );
+    strcpy( dir, f );
     p = strrchr( dir, '/' );
     if ( p != NULL ) {
        *p = '\0';