summaryrefslogtreecommitdiffstats
path: root/ldap/servers/slapd/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldap/servers/slapd/util.c')
-rw-r--r--ldap/servers/slapd/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldap/servers/slapd/util.c b/ldap/servers/slapd/util.c
index aaf5e061..e51c6685 100644
--- a/ldap/servers/slapd/util.c
+++ b/ldap/servers/slapd/util.c
@@ -529,8 +529,8 @@ rel2abspath_ext( char *relpath, char *cwd )
}
}
retpath = slapi_ch_strdup(abspath);
- /* if there's no '.', no need to call normalize_path */
- if (NULL != strchr(abspath, '.') || NULL != strstr(abspath, _PSEP2))
+ /* if there's no '.' or separators, no need to call normalize_path */
+ if (NULL != strchr(abspath, '.') || NULL != strstr(abspath, _PSEP))
{
char **norm_path = normalize_path(abspath);
char **np, *rp;