]> git.sur5r.net Git - openldap/blobdiff - servers/slurpd/sanity.c
filecheck(), we should strcpy the file passed (f arg) and not always slapd_replogfile...
[openldap] / servers / slurpd / sanity.c
index d666f65da0802bd69a6a834b2ccf9488e0141ac0..ab6880c0b0c09686d961372ed63d270b42db2e69 100644 (file)
@@ -1,3 +1,4 @@
+/* $OpenLDAP$ */
 /*
  * Copyright (c) 1996 Regents of the University of Michigan.
  * All rights reserved.
@@ -173,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';