]> granicus.if.org Git - php/commitdiff
Even though it is ignored this should be correct
authorMarcus Boerger <helly@php.net>
Sat, 30 Aug 2003 19:01:10 +0000 (19:01 +0000)
committerMarcus Boerger <helly@php.net>
Sat, 30 Aug 2003 19:01:10 +0000 (19:01 +0000)
Zend/zend_default_classes.c
Zend/zend_exceptions.c

index 76a2a39a6525dc507053484a8bc79a5d0f916ab8..5dd4da1dfaf22ee64b49285f54e26dbeaf3d6a4a 100644 (file)
@@ -268,7 +268,7 @@ ZEND_METHOD(exception, gettraceasstring)
        int len = 0, num = 0;
        
        trace = zend_read_property(Z_OBJCE_P(getThis()), getThis(), "trace", sizeof("trace")-1, 1 TSRMLS_CC);
-       zend_hash_apply_with_arguments(Z_ARRVAL_P(trace), (apply_func_args_t)_build_trace_string, 2, &str, &len, &num);
+       zend_hash_apply_with_arguments(Z_ARRVAL_P(trace), (apply_func_args_t)_build_trace_string, 3, &str, &len, &num);
 
        str[len] = '\0';        
        RETURN_STRINGL(str, len, 0); 
index 76a2a39a6525dc507053484a8bc79a5d0f916ab8..5dd4da1dfaf22ee64b49285f54e26dbeaf3d6a4a 100644 (file)
@@ -268,7 +268,7 @@ ZEND_METHOD(exception, gettraceasstring)
        int len = 0, num = 0;
        
        trace = zend_read_property(Z_OBJCE_P(getThis()), getThis(), "trace", sizeof("trace")-1, 1 TSRMLS_CC);
-       zend_hash_apply_with_arguments(Z_ARRVAL_P(trace), (apply_func_args_t)_build_trace_string, 2, &str, &len, &num);
+       zend_hash_apply_with_arguments(Z_ARRVAL_P(trace), (apply_func_args_t)_build_trace_string, 3, &str, &len, &num);
 
        str[len] = '\0';        
        RETURN_STRINGL(str, len, 0);