summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Tvrdik <pawel.tvrdik@gmail.com>2016-08-16 13:02:32 +0200
committerPavel Tvrdik <pawel.tvrdik@gmail.com>2016-08-16 13:02:32 +0200
commitd107ef78df2564cba75af1a6dcc9894c4468b207 (patch)
tree8c9e7157023628f94f1b90bd43d0f503dbb465eb
parent671ddd5b05cf35b2ab7b80f1d13641c875f22e77 (diff)
Whitespace fixes
-rw-r--r--lib/printf.c2
-rw-r--r--nest/rt-table.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/printf.c b/lib/printf.c
index a067fe98..4fd75c9b 100644
--- a/lib/printf.c
+++ b/lib/printf.c
@@ -169,7 +169,7 @@ int bvsnprintf(char *buf, int size, const char *fmt, va_list args)
case ' ': flags |= SPACE; goto repeat;
case '#': flags |= SPECIAL; goto repeat;
case '0': flags |= ZEROPAD; goto repeat;
- }
+ }
/* get field width */
field_width = -1;
diff --git a/nest/rt-table.c b/nest/rt-table.c
index 50c01c88..9baf2849 100644
--- a/nest/rt-table.c
+++ b/nest/rt-table.c
@@ -1777,7 +1777,7 @@ rt_next_hop_update_net(rtable *tab, net *n)
/* FIXME: Better announcement of merged routes */
rte_announce_i(tab, RA_MERGED, n, new, old_best, new, old_best);
- if (free_old_best)
+ if (free_old_best)
rte_free_quick(old_best);
return count;