]> granicus.if.org Git - php/commitdiff
Fix warning,
authorAndrei Zmievski <andrei@php.net>
Sat, 20 Oct 2001 13:45:29 +0000 (13:45 +0000)
committerAndrei Zmievski <andrei@php.net>
Sat, 20 Oct 2001 13:45:29 +0000 (13:45 +0000)
ext/standard/syslog.c

index bd15b99c9d51db035cbe9500d9c6628910482edd..df6676c7119e6ede0db848ee832e218e604d802b 100644 (file)
@@ -216,8 +216,8 @@ PHP_FUNCTION(openlog)
        long option, facility;
        int ident_len;
 
-       if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sll", &ident, &option,
-                                                         &facility) == FAILURE) {
+       if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sll", &ident,
+                                                         &ident_len, &option, &facility) == FAILURE) {
                return;
        }
        if (BG(syslog_device)) {