aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-10-16 16:17:18 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-10-16 16:18:29 +0200
commit0bbb914a700dc854495b1e3e4a88a624e078c2f4 (patch)
tree3cca4ac2d3984a272468aad338da3b25f18e095a /openbsc/src
parent9ae32d0d0607f270f20239b8104e09ec20352301 (diff)
mgcp: osmux_send_dummy: Fix return without value
Not really critical since only user of this function doesn't check the return value. Fixes commit: 4a2cc9eb0a0f9424c16b26fcb757483a39d67482 Change-Id: I438349bffaa46a10ad8983090a4b17aed7e00d82
Diffstat (limited to 'openbsc/src')
-rw-r--r--openbsc/src/libmgcp/mgcp_osmux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/libmgcp/mgcp_osmux.c b/openbsc/src/libmgcp/mgcp_osmux.c
index a0ac295c4..ce344ca7b 100644
--- a/openbsc/src/libmgcp/mgcp_osmux.c
+++ b/openbsc/src/libmgcp/mgcp_osmux.c
@@ -554,7 +554,7 @@ int osmux_send_dummy(struct mgcp_endpoint *endp)
return 0;
if (endp_osmux_state_check(endp, &endp->net_end.addr, true) < 0)
- return;
+ return 0;
LOGP(DMGCP, LOGL_DEBUG,
"sending OSMUX dummy load to %s CID %u\n",