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:
Neels Hofmeyr 2020-05-04 17:53:50 +02:00
parent dfe6f41c81
commit 1bd3ec49b1
1 changed files with 1 additions and 1 deletions

View File

@ -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;
uint8_t *addr = NULL;
size_t addr_len;
int addr_len;
LOGP(DLGSUP, LOGL_INFO, "CCM Callback\n");