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/.
Vadim Yanitskiy gerrit-no-reply at lists.osmocom.orgVadim Yanitskiy has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-pcu/+/20488 )
Change subject: pcu_l1_if: cosmetic: use ARRAY_SIZE() in pcu_rx_info_ind()
......................................................................
pcu_l1_if: cosmetic: use ARRAY_SIZE() in pcu_rx_info_ind()
Change-Id: Iff11c854b1687f75c1125a5bcd616da95ade69ee
---
M src/pcu_l1_if.cpp
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/88/20488/1
diff --git a/src/pcu_l1_if.cpp b/src/pcu_l1_if.cpp
index b2a44d7..1fc93a6 100644
--- a/src/pcu_l1_if.cpp
+++ b/src/pcu_l1_if.cpp
@@ -579,7 +579,7 @@
goto bssgp_failed;
}
- for (int i=0; i<2; i++) {
+ for (int i = 0; i < ARRAY_SIZE(info_ind->nsvci); i++) {
struct osmo_sockaddr_str sockstr;
switch (info_ind->address_type[i]) {
--
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/20488
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: Iff11c854b1687f75c1125a5bcd616da95ade69ee
Gerrit-Change-Number: 20488
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201008/1a96303c/attachment.htm>