gsup_server.c: properly handle negative rc from osmo_gsup_conn_ccm_get()
Related: coverity CID#210171 Change-Id: I5b56fe33cbc75679a3fffc034a53f06cd0e4043b
This commit is contained in:
parent
dfe6f41c81
commit
1bd3ec49b1
|
@ -274,7 +274,7 @@ static int osmo_gsup_server_ccm_cb(struct ipa_server_conn *conn,
|
||||||
{
|
{
|
||||||
struct osmo_gsup_conn *clnt = (struct osmo_gsup_conn *)conn->data;
|
struct osmo_gsup_conn *clnt = (struct osmo_gsup_conn *)conn->data;
|
||||||
uint8_t *addr = NULL;
|
uint8_t *addr = NULL;
|
||||||
size_t addr_len;
|
int addr_len;
|
||||||
|
|
||||||
LOGP(DLGSUP, LOGL_INFO, "CCM Callback\n");
|
LOGP(DLGSUP, LOGL_INFO, "CCM Callback\n");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue