Even though it is ignored this should be correct

This commit is contained in:
Marcus Boerger 2003-08-30 19:01:10 +00:00
parent 655f2dc572
commit 80c0cdf7f7
2 changed files with 2 additions and 2 deletions

View 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);

View 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);