diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2017-05-03 20:47:15 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2017-05-03 20:47:15 +0300 |
commit | 786480850ac3d16c62ee2abfe410c4e00d16f70b (patch) | |
tree | 2026f57a1455381083c487730474b5d171f83ea4 /src | |
parent | common.cmake: bugfix & refactoring (diff) | |
download | aes-tools-786480850ac3d16c62ee2abfe410c4e00d16f70b.tar.gz aes-tools-786480850ac3d16c62ee2abfe410c4e00d16f70b.zip |
code style
Diffstat (limited to 'src')
-rw-r--r-- | src/error.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/error.c b/src/error.c index 3bf3ed2..fefe7a2 100644 --- a/src/error.c +++ b/src/error.c @@ -155,13 +155,13 @@ size_t aes_format_error( static void aes_collect_call_stack(AES_ErrorDetails* err_details) { - err_details->call_stack_size = CaptureStackBackTrace( + err_details->call_stack_len = CaptureStackBackTrace( 1, AES_MAX_CALL_STACK_LENGTH, err_details->call_stack, NULL); } #else static void aes_collect_call_stack(AES_ErrorDetails* err_details) { - err_details->call_stack_size = 0; + err_details->call_stack_len = 0; } #endif |