+/* $OpenLDAP$ */
/*
* Copyright (c) 1996 Regents of the University of Michigan.
* All rights reserved.
char *p;
unsigned int ret = 0;
- strcpy( dir, sglob->slapd_replogfile );
+ strcpy( dir, f );
p = strrchr( dir, '/' );
if ( p != NULL ) {
*p = '\0';