diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2017-07-22 14:52:33 +0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2017-07-22 14:52:33 +0200 |
commit | 9d303b37d73b8fe2bef310d8d9ca1acad23c2501 (patch) | |
tree | bbe78c595bd8f42b76322df2a37cf81f60c08a6a /lib/log.c | |
parent | *: add git-reindent-branch.py (diff) | |
download | frr-9d303b37d73b8fe2bef310d8d9ca1acad23c2501.tar.xz frr-9d303b37d73b8fe2bef310d8d9ca1acad23c2501.zip |
Revert "*: reindent pt. 2"
This reverts commit c14777c6bfd0a446c85243d3a9835054a259c276.
clang 5 is not widely available enough for people to indent with. This
is particularly problematic when rebasing/adjusting branches.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/log.c')
-rw-r--r-- | lib/log.c | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -411,7 +411,7 @@ void zlog_signal(int signo, const char *action , siginfo_t *siginfo, void *program_counter #endif -) + ) { time_t now; char buf[sizeof("DEFAULT: Received signal S at T (si_addr 0xP, PC 0xP); aborting...") @@ -474,7 +474,7 @@ void zlog_signal(int signo, const char *action #else NULL #endif - ); + ); s = buf; struct thread *tc; @@ -1063,9 +1063,10 @@ void zlog_hexdump(const void *mem, unsigned int len) printing */ s += sprintf(s, " "); - else if (isprint((int)((const char *)mem) - [j])) /* printable char - */ + else if ( + isprint((int)((const char *)mem) + [j])) /* printable char + */ s += sprintf( s, "%c", 0xFF & ((const char *)mem)[j]); |