From: Ben Collins Date: Mon, 24 Apr 2000 16:47:41 +0000 (+0000) Subject: filecheck(), we should strcpy the file passed (f arg) and not always slapd_replogfile... X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~3089 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a44adcfb43c4030328d8a92c56e6cc4018ee5d4f;p=openldap 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 56886ff420..ab6880c0b0 100644 --- a/servers/slurpd/sanity.c +++ b/servers/slurpd/sanity.c @@ -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';