diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-12-16 12:55:43 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-12-16 12:55:46 +0100 |
commit | e59472a50a6a60df27f16bf0cfc4d40e4e6c5aa5 (patch) | |
tree | e087dee9193e6d92f907190c51aa49515679e774 | |
parent | 82a52f6a7d39672f1a67941d9e9a380ab59fcb92 (diff) |
prim: return last error code2021q4
Closes: Coverity CID#242768
Change-Id: Ic0f8b313ab9a8de597d8bb6db76e9883bc6009a0
-rw-r--r-- | src/prim.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -166,7 +166,7 @@ static int _srv_sap_ctl_rx_hello_req(struct osmo_prim_srv *prim_srv, struct sap_ prim_resp = _sap_ctl_makeprim_hello_cnf(hello_ind->sapi, (uint16_t)rc); LOGSRV(prim_srv, LOGL_INFO, "Tx CTL-HELLO.cnf SAPI=%u API_VERSION=%u\n", hello_ind->sapi, prim_resp->u.hello_cnf.api_version); - osmo_prim_srv_send(prim_srv, prim_resp->hdr.msg); + rc = osmo_prim_srv_send(prim_srv, prim_resp->hdr.msg); return rc; } |