hlr_ussd.c: fix: properly pass invokeID in handle_ussd_own_msisdn()

Change-Id: I06845c2c9ebee61671477ee1c9d82010f1f37b7b
This commit is contained in:
Vadim Yanitskiy 2019-07-23 15:36:23 +07:00
parent b64cb27003
commit 4ca7f6a17e
1 changed files with 2 additions and 2 deletions

View File

@ -336,11 +336,11 @@ static int handle_ussd_own_msisdn(struct osmo_gsup_conn *conn, struct ss_session
ss_tx_ussd_7bit(ss, true, req->invoke_id, buf);
break;
case -ENOENT:
ss_tx_error(ss, true, GSM0480_ERR_CODE_UNKNOWN_SUBSCRIBER);
ss_tx_error(ss, req->invoke_id, GSM0480_ERR_CODE_UNKNOWN_SUBSCRIBER);
break;
case -EIO:
default:
ss_tx_error(ss, true, GSM0480_ERR_CODE_SYSTEM_FAILURE);
ss_tx_error(ss, req->invoke_id, GSM0480_ERR_CODE_SYSTEM_FAILURE);
break;
}
return 0;