summaryrefslogtreecommitdiff
path: root/TSRM
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2005-01-08 13:53:45 (GMT)
committerDmitry Stogov <dmitry@php.net>2005-01-08 13:53:45 (GMT)
commit0854cad7a2ebd32666c08ca7da5a025afa3841f0 (patch)
tree8940a17e49e43cf9aed811a597d6fd1def306412 /TSRM
parent5516915115bda5cc487cbe1c5506f3725cecb205 (diff)
downloadphp-0854cad7a2ebd32666c08ca7da5a025afa3841f0.tar.gz
Unnecesary check was removed
Diffstat (limited to 'TSRM')
-rw-r--r--TSRM/tsrm_virtual_cwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/TSRM/tsrm_virtual_cwd.c b/TSRM/tsrm_virtual_cwd.c
index 0a351db..0df0566 100644
--- a/TSRM/tsrm_virtual_cwd.c
+++ b/TSRM/tsrm_virtual_cwd.c
@@ -591,7 +591,7 @@ CWD_API int virtual_file_ex(cwd_state *state, const char *path, verify_path_func
free(free_path);
#ifdef REALPATH_CACHE
- if (ret == 0 && use_realpath && CWDG(realpath_cache_size_limit)) {
+ if (use_realpath && CWDG(realpath_cache_size_limit)) {
realpath_cache_add(orig_path, orig_path_len, state->cwd, state->cwd_length, t TSRMLS_CC);
}
#endif