aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-12-26 21:38:49 +0100
committerHarald Welte <laforge@gnumonks.org>2017-12-26 21:41:16 +0100
commit8e88d37ceca1dcbb91c59a26d6467df8524283f5 (patch)
tree65cb440a787f0af371c18f18347d5a0bf2d79a06 /src
parent3bd8a556612e5990e7997044d20ade06373a7da6 (diff)
hnbgw_vty.c: cosmetic: Fix non-tab-indented code
This was introduced a week ago in Change-Id I3c937306a011715e163a40bc8ef8ec7e8d4e5d08 and is now cleaned up. Change-Id: Iaadf941aa7f1c5ae05eb02b51cc646b7b5587ba3
Diffstat (limited to 'src')
-rw-r--r--src/hnbgw_vty.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/hnbgw_vty.c b/src/hnbgw_vty.c
index 060319b..2c47bba 100644
--- a/src/hnbgw_vty.c
+++ b/src/hnbgw_vty.c
@@ -147,14 +147,14 @@ DEFUN(show_cnlink, show_cnlink_cmd, "show cnlink",
static void vty_out_ofd_addr(struct vty *vty, struct osmo_fd *ofd)
{
- char *name;
- if (!ofd || ofd->fd < 0
+ char *name;
+ if (!ofd || ofd->fd < 0
|| !(name = osmo_sock_get_name(vty, ofd->fd))) {
vty_out(vty, "(no addr)");
return;
- }
- vty_out(vty, name);
- talloc_free(name);
+ }
+ vty_out(vty, name);
+ talloc_free(name);
}
static void vty_dump_hnb_info__map_states(struct vty *vty, const char *name, unsigned int count,