summaryrefslogtreecommitdiff
path: root/main/reentrancy.c
diff options
context:
space:
mode:
authorAndrei Zmievski <andrei@php.net>2000-06-12 13:20:38 +0000
committerAndrei Zmievski <andrei@php.net>2000-06-12 13:20:38 +0000
commite008af13648ef2aee149c55c3b8076ddb14e3d5b (patch)
tree18d2b57c577073f1ca6423d5543c4b219fda34fc /main/reentrancy.c
parent619537208b20ee38179a0e994ee011855f99d497 (diff)
downloadphp-git-e008af13648ef2aee149c55c3b8076ddb14e3d5b.tar.gz
(php_readdir_r) Last argument to readdir_r was missing.
Diffstat (limited to 'main/reentrancy.c')
-rw-r--r--main/reentrancy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/reentrancy.c b/main/reentrancy.c
index 79e4f13da3..4f67600e1f 100644
--- a/main/reentrancy.c
+++ b/main/reentrancy.c
@@ -103,7 +103,7 @@ PHPAPI int php_readdir_r(DIR *dirp, struct dirent *entry,
errno = 0;
- ret = readdir_r(dirp, entry);
+ ret = readdir_r(dirp, entry, result);
if (ret == 0)
*result = entry;