summaryrefslogtreecommitdiff
path: root/Zend/zend_exceptions.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-08-30 19:01:10 +0000
committerMarcus Boerger <helly@php.net>2003-08-30 19:01:10 +0000
commit80c0cdf7f7ea9ad7197e0337bda45f81854b25e6 (patch)
tree0515d184902ca5c53582ed9a50ba0dedd69eab26 /Zend/zend_exceptions.c
parent655f2dc57233e4e031e7de70897d0d12d4788c57 (diff)
downloadphp-git-80c0cdf7f7ea9ad7197e0337bda45f81854b25e6.tar.gz
Even though it is ignored this should be correct
Diffstat (limited to 'Zend/zend_exceptions.c')
-rw-r--r--Zend/zend_exceptions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_exceptions.c b/Zend/zend_exceptions.c
index 76a2a39a65..5dd4da1dfa 100644
--- a/Zend/zend_exceptions.c
+++ b/Zend/zend_exceptions.c
@@ -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);