summaryrefslogtreecommitdiff
path: root/main/SAPI.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2000-04-20 16:38:08 +0000
committerAndi Gutmans <andi@php.net>2000-04-20 16:38:08 +0000
commite40268d07c9f0cae3f43b80e2c795a2b35253af5 (patch)
treeb5c4ed2f87664876e3012642e44f2edfd9e4e1f5 /main/SAPI.c
parentba37ae2c0b8048d2a43c8a3008f539c12a464aa5 (diff)
downloadphp-git-e40268d07c9f0cae3f43b80e2c795a2b35253af5.tar.gz
- Add missing V_STAT()
Diffstat (limited to 'main/SAPI.c')
-rw-r--r--main/SAPI.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/SAPI.c b/main/SAPI.c
index 3f29c97769..e2f58790ff 100644
--- a/main/SAPI.c
+++ b/main/SAPI.c
@@ -534,7 +534,7 @@ SAPI_API struct stat *sapi_get_stat()
if (sapi_module.get_stat) {
return sapi_module.get_stat(SLS_C);
} else {
- if (!SG(request_info).path_translated || (stat(SG(request_info).path_translated, &SG(global_stat))==-1)) {
+ if (!SG(request_info).path_translated || (V_STAT(SG(request_info).path_translated, &SG(global_stat))==-1)) {
return NULL;
}
return &SG(global_stat);