summaryrefslogtreecommitdiff
path: root/ext/standard/syslog.c
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/standard/syslog.c
parent1cefd77f1c6ec98c23ba04998ca3a07c8c4e7b68 (diff)
downloadphp-git-3701bc420774c1b689f8a43f0ed891c99fea3cd2.tar.gz
- ARG_COUNT(ht) -> ZEND_NUM_ARGS() mega patch
Diffstat (limited to 'ext/standard/syslog.c')
-rw-r--r--ext/standard/syslog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/syslog.c b/ext/standard/syslog.c
index 464545367e..882c4e1259 100644
--- a/ext/standard/syslog.c
+++ b/ext/standard/syslog.c
@@ -205,7 +205,7 @@ PHP_FUNCTION(openlog)
pval **ident, **option, **facility;
BLS_FETCH();
- if (ARG_COUNT(ht) != 3 || zend_get_parameters_ex(3, &ident, &option, &facility) == FAILURE) {
+ if (ZEND_NUM_ARGS() != 3 || zend_get_parameters_ex(3, &ident, &option, &facility) == FAILURE) {
WRONG_PARAM_COUNT;
}
convert_to_string_ex(ident);
@@ -241,7 +241,7 @@ PHP_FUNCTION(syslog)
{
pval **priority, **message;
- if (ARG_COUNT(ht) != 2 || zend_get_parameters_ex(2, &priority, &message) == FAILURE) {
+ if (ZEND_NUM_ARGS() != 2 || zend_get_parameters_ex(2, &priority, &message) == FAILURE) {
WRONG_PARAM_COUNT;
}
convert_to_long_ex(priority);