[XS] Change in libosmocore[master]: cbsp: cbsp_decode_cell_list(): tweak coding style
fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/44179?usp=email ) Change subject: cbsp: cbsp_decode_cell_list(): tweak coding style ...................................................................... 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 https://gerrit.osmocom.org/c/libosmocore/+/44179?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: Icf9db71afe482c139cd07ca1a3df308af6877b4a Gerrit-Change-Number: 44179 Gerrit-PatchSet: 1 Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de>
participants (1)
-
fixeria