]> git.ipfire.org Git - thirdparty/openldap.git/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:21 +0000 (16:47 +0000)
committerBen Collins <bcollins@openldap.org>
Mon, 24 Apr 2000 16:47:21 +0000 (16:47 +0000)
servers/slurpd/sanity.c

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