From c142f710ef4e103936a0590f411c048a62b69fe5 Mon Sep 17 00:00:00 2001 From: Ben Collins Date: Mon, 24 Apr 2000 16:47:21 +0000 Subject: [PATCH] filecheck(), we should strcpy the file passed (f arg) and not always slapd_replogfile, else this function is of little real use --- servers/slurpd/sanity.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slurpd/sanity.c b/servers/slurpd/sanity.c index d666f65da0..10f3bdc395 100644 --- a/servers/slurpd/sanity.c +++ b/servers/slurpd/sanity.c @@ -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'; -- 2.39.5