summaryrefslogtreecommitdiff
path: root/addrtostr.c
diff options
context:
space:
mode:
Diffstat (limited to 'addrtostr.c')
-rw-r--r--addrtostr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/addrtostr.c b/addrtostr.c
index f1ccf797..5a08929a 100644
--- a/addrtostr.c
+++ b/addrtostr.c
@@ -132,8 +132,7 @@ addrtostr6 (const void *src, char *dst, size_t size)
if (cur.base == -1)
cur.base = i, cur.len = 1;
else cur.len++;
- }
- else if (cur.base != -1) {
+ } else if (cur.base != -1) {
if (best.base == -1 || cur.len > best.len)
best = cur;
cur.base = -1;