pespin has uploaded this change for review.

View Change

cosmetic: osmux: Fix formatting of if-else brackets

Change-Id: I748d41cd110841ef121f70560e70c07de56aa9da
---
M src/libosmo-mgcp/mgcp_osmux.c
1 file changed, 2 insertions(+), 1 deletion(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/61/29461/1
diff --git a/src/libosmo-mgcp/mgcp_osmux.c b/src/libosmo-mgcp/mgcp_osmux.c
index 5ba48e8..5647348 100644
--- a/src/libosmo-mgcp/mgcp_osmux.c
+++ b/src/libosmo-mgcp/mgcp_osmux.c
@@ -598,8 +598,9 @@
"no available Osmux CID to allocate!\n");
return -1;
}
- } else
+ } else {
osmux_cid_pool_get(osmux_cid);
+ }

conn->osmux.cid = (uint8_t) osmux_cid;
conn->osmux.cid_allocated = true;

To view, visit change 29461. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: I748d41cd110841ef121f70560e70c07de56aa9da
Gerrit-Change-Number: 29461
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin@sysmocom.de>
Gerrit-MessageType: newchange