fixeria has uploaded this change for review.
cbsp: cbsp_decode_cell_list(): tweak coding style
Change-Id: Icf9db71afe482c139cd07ca1a3df308af6877b4a
---
M src/gsm/cbsp.c
1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/79/44179/1
diff --git a/src/gsm/cbsp.c b/src/gsm/cbsp.c
index bdb7369..2198c02 100644
--- a/src/gsm/cbsp.c
+++ b/src/gsm/cbsp.c
@@ -513,7 +513,8 @@
if (buf == NULL) {
osmo_cbsp_errstr = "cell list: missing mandatory IE";
return -ENOENT;
- } else if (len < 1) {
+ }
+ if (len < 1) {
osmo_cbsp_errstr = "cell list: too short";
return -EINVAL;
}
To view, visit change 44179. To unsubscribe, or for help writing mail filters, visit settings.