diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2011-10-26 20:37:03 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2011-10-26 20:37:03 +0200 |
commit | dfdf42e27b033730178bf8884e2f4a1e6c960791 (patch) | |
tree | 6f7a25f6df49089832aabc6448bd6e527de2ea0e /src/core/wee-backtrace.c | |
parent | 2a83aae85e68a8c7431f372f39131b09fea7bca1 (diff) | |
download | weechat-dfdf42e27b033730178bf8884e2f4a1e6c960791.zip |
core: remove unneeded whitespace
Diffstat (limited to 'src/core/wee-backtrace.c')
-rw-r--r-- | src/core/wee-backtrace.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/wee-backtrace.c b/src/core/wee-backtrace.c index fd121f084..1bc49df3f 100644 --- a/src/core/wee-backtrace.c +++ b/src/core/wee-backtrace.c @@ -80,14 +80,14 @@ weechat_backtrace_addr2line (int number, void *address, const char *symbol) char cmd_line[1024]; char line[1024], *ptr_line, *pos; char function_name[1024]; - + rc = dladdr (address, &info); if ((rc == 0) || !info.dli_fname || !info.dli_fname[0]) { weechat_backtrace_printf ("%03d %s", number, symbol); return; } - + addr = address; if (info.dli_fbase >= (const void *) 0x40000000) addr = (void *)((unsigned long)((const char *) addr) - @@ -166,7 +166,7 @@ weechat_backtrace () #ifdef HAVE_BACKTRACE trace_size = backtrace (trace, BACKTRACE_MAX); symbols = backtrace_symbols (trace, trace_size); - + for (i = 0; i < trace_size; i++) { weechat_backtrace_addr2line (i + 1, trace[i], symbols[i]); @@ -175,6 +175,6 @@ weechat_backtrace () weechat_backtrace_printf (" No backtrace info (no debug info available " "or no backtrace possible on your system)."); #endif - + weechat_backtrace_printf ("======= End of backtrace ======="); } |