Skip to content
Snippets Groups Projects
Commit a44adcfb authored by Ben Collins's avatar Ben Collins
Browse files

filecheck(), we should strcpy the file passed (f arg) and not always...

filecheck(), we should strcpy the file passed (f arg) and not always slapd_replogfile, else this function is of little real use
parent 4319e677
No related branches found
No related tags found
No related merge requests found
......@@ -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';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment