mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 01:29:59 -05:00
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:
parent
4319e67736
commit
a44adcfb43
1 changed files with 1 additions and 1 deletions
|
|
@ -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';
|
||||
|
|
|
|||
Loading…
Reference in a new issue