filecheck(), we should strcpy the file passed (f arg) and not always slapd_replogfile, else this function is of little real use

This commit is contained in:
Ben Collins 2000-04-24 16:47:41 +00:00
parent 4319e67736
commit a44adcfb43

View 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';