aboutsummaryrefslogtreecommitdiffstats
path: root/main/logger.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/logger.c')
-rw-r--r--main/logger.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/logger.c b/main/logger.c
index 02d612c3e..59fad2840 100644
--- a/main/logger.c
+++ b/main/logger.c
@@ -1081,7 +1081,7 @@ void ast_log(int level, const char *file, int line, const char *function, const
void ast_backtrace(void)
{
#ifdef HAVE_BKTR
- int count=0, i=0;
+ int count = 0, i = 0;
void **addresses;
char **strings;
@@ -1089,7 +1089,7 @@ void ast_backtrace(void)
count = backtrace(addresses, MAX_BACKTRACE_FRAMES);
if ((strings = backtrace_symbols(addresses, count))) {
ast_debug(1, "Got %d backtrace record%c\n", count, count != 1 ? 's' : ' ');
- for (i=0; i < count ; i++) {
+ for (i = 0; i < count; i++) {
#if __WORDSIZE == 32
ast_log(LOG_DEBUG, "#%d: [%08X] %s\n", i, (unsigned int)addresses[i], strings[i]);
#elif __WORDSIZE == 64