diff options
| author | foobar <sniper@php.net> | 2004-02-25 21:06:59 +0000 |
|---|---|---|
| committer | foobar <sniper@php.net> | 2004-02-25 21:06:59 +0000 |
| commit | b87a245207bdd1e5010bcb6b389c8a4365e6938b (patch) | |
| tree | 32b69e2a92f4e90336e6b9e784d3145d67d9e608 /Zend/zend_builtin_functions.c | |
| parent | 8be7457b6c3637e5d19ed7e6d938dc37bfac9c13 (diff) | |
| download | php-git-b87a245207bdd1e5010bcb6b389c8a4365e6938b.tar.gz | |
ws + cs
Diffstat (limited to 'Zend/zend_builtin_functions.c')
| -rw-r--r-- | Zend/zend_builtin_functions.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Zend/zend_builtin_functions.c b/Zend/zend_builtin_functions.c index 45d5d81d33..bebff236d5 100644 --- a/Zend/zend_builtin_functions.c +++ b/Zend/zend_builtin_functions.c @@ -1372,7 +1372,8 @@ bad_module_id: /* }}} */ -static zval *debug_backtrace_get_args(void ***curpos TSRMLS_DC) { +static zval *debug_backtrace_get_args(void ***curpos TSRMLS_DC) +{ void **p = *curpos - 2; zval *arg_array, **arg; int arg_count = (ulong) *p; @@ -1564,8 +1565,8 @@ ZEND_API void zend_fetch_debug_backtrace(zval *return_value, int skip_last TSRML ptr = EG(current_execute_data); - /* skip debug_backtrace() */ - ptr = ptr->prev_execute_data; + /* skip debug_backtrace() */ + ptr = ptr->prev_execute_data; if (skip_last) { cur_arg_pos -= 2; frames_on_stack--; |
