This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Harald Welte gerrit-no-reply at lists.osmocom.orgHarald Welte has submitted this change and it was merged.
Change subject: hnbgw_vty.c: cosmetic: Fix non-tab-indented code
......................................................................
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
---
M src/hnbgw_vty.c
1 file changed, 5 insertions(+), 5 deletions(-)
Approvals:
Harald Welte: Looks good to me, approved
Jenkins Builder: Verified
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 @@
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,
--
To view, visit https://gerrit.osmocom.org/5592
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Iaadf941aa7f1c5ae05eb02b51cc646b7b5587ba3
Gerrit-PatchSet: 1
Gerrit-Project: osmo-iuh
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder