diff options
author | Andi Gutmans <andi@php.net> | 2000-06-05 19:47:54 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2000-06-05 19:47:54 +0000 |
commit | 3701bc420774c1b689f8a43f0ed891c99fea3cd2 (patch) | |
tree | 9bbc5d33a0a90e290889dbca3d8fa9bb1dfe38a9 /ext/standard/iptc.c | |
parent | 1cefd77f1c6ec98c23ba04998ca3a07c8c4e7b68 (diff) | |
download | php-git-3701bc420774c1b689f8a43f0ed891c99fea3cd2.tar.gz |
- ARG_COUNT(ht) -> ZEND_NUM_ARGS() mega patch
Diffstat (limited to 'ext/standard/iptc.c')
-rw-r--r-- | ext/standard/iptc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/iptc.c b/ext/standard/iptc.c index 4a0f29fd56..248eafd619 100644 --- a/ext/standard/iptc.c +++ b/ext/standard/iptc.c @@ -171,7 +171,7 @@ PHP_FUNCTION(iptcembed) unsigned char *spoolbuf=0,*poi=0; struct stat sb; - switch(ARG_COUNT(ht)){ + switch(ZEND_NUM_ARGS()){ case 3: if (zend_get_parameters_ex(3, &iptcdata, &jpeg_file, &spool_flag) == FAILURE) { WRONG_PARAM_COUNT; @@ -303,7 +303,7 @@ PHP_FUNCTION(iptcparse) unsigned char key[ 16 ]; zval *values, **str, **element; - if (ARG_COUNT(ht) != 1 || zend_get_parameters_ex(1, &str) == FAILURE) { + if (ZEND_NUM_ARGS() != 1 || zend_get_parameters_ex(1, &str) == FAILURE) { WRONG_PARAM_COUNT; } convert_to_string_ex(str); |