From: Ben Collins Date: Mon, 24 Apr 2000 16:47:21 +0000 (+0000) Subject: filecheck(), we should strcpy the file passed (f arg) and not always slapd_replogfile... X-Git-Tag: OPENLDAP_REL_ENG_1_2_11~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c142f710ef4e103936a0590f411c048a62b69fe5;p=thirdparty%2Fopenldap.git filecheck(), we should strcpy the file passed (f arg) and not always slapd_replogfile, else this function is of little real use --- 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';