aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/error.c
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-05-03 20:47:15 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-05-03 20:47:15 +0300
commit786480850ac3d16c62ee2abfe410c4e00d16f70b (patch)
tree2026f57a1455381083c487730474b5d171f83ea4 /src/error.c
parentcommon.cmake: bugfix & refactoring (diff)
downloadaes-tools-786480850ac3d16c62ee2abfe410c4e00d16f70b.tar.gz
aes-tools-786480850ac3d16c62ee2abfe410c4e00d16f70b.zip
code style
Diffstat (limited to 'src/error.c')
-rw-r--r--src/error.c4
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