From 786480850ac3d16c62ee2abfe410c4e00d16f70b Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 3 May 2017 20:47:15 +0300 Subject: code style --- src/error.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/error.c') 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 -- cgit v1.2.3