diff options
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 |