summaryrefslogtreecommitdiff
path: root/ext/dav
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2000-06-05 19:47:54 +0000
committerAndi Gutmans <andi@php.net>2000-06-05 19:47:54 +0000
commit3701bc420774c1b689f8a43f0ed891c99fea3cd2 (patch)
tree9bbc5d33a0a90e290889dbca3d8fa9bb1dfe38a9 /ext/dav
parent1cefd77f1c6ec98c23ba04998ca3a07c8c4e7b68 (diff)
downloadphp-git-3701bc420774c1b689f8a43f0ed891c99fea3cd2.tar.gz
- ARG_COUNT(ht) -> ZEND_NUM_ARGS() mega patch
Diffstat (limited to 'ext/dav')
-rw-r--r--ext/dav/dav.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dav/dav.c b/ext/dav/dav.c
index 6b111befb8..31208a7b46 100644
--- a/ext/dav/dav.c
+++ b/ext/dav/dav.c
@@ -252,7 +252,7 @@ PHP_FUNCTION(dav_set_mkcol_handlers)
pval *test, *create;
DAV_TLS_VARS;
- if (ARG_COUNT(ht) != 2 || getParameters(ht, 2, &test, &create) == FAILURE) {
+ if (ZEND_NUM_ARGS() != 2 || getParameters(ht, 2, &test, &create) == FAILURE) {
WRONG_PARAM_COUNT;
}
DAV_SET_HANDLER(mkcol_test, test);