Module: kamailio
Branch: master
Commit: b0c609e68bdaf300c681b7f4f3a5a857988c1de1
URL:
https://github.com/kamailio/kamailio/commit/b0c609e68bdaf300c681b7f4f3a5a85…
Author: Mikko Lehto <mslehto(a)iki.fi>
Committer: Mikko Lehto <mslehto(a)iki.fi>
Date: 2015-11-11T22:54:14+02:00
modules/ims_registrar_scscf: adds missing jump to error1 label
---
Modified: modules/ims_registrar_scscf/cxdx_sar.c
---
Diff:
https://github.com/kamailio/kamailio/commit/b0c609e68bdaf300c681b7f4f3a5a85…
Patch:
https://github.com/kamailio/kamailio/commit/b0c609e68bdaf300c681b7f4f3a5a85…
---
diff --git a/modules/ims_registrar_scscf/cxdx_sar.c
b/modules/ims_registrar_scscf/cxdx_sar.c
index d6ded97..bfdc09d 100644
--- a/modules/ims_registrar_scscf/cxdx_sar.c
+++ b/modules/ims_registrar_scscf/cxdx_sar.c
@@ -330,7 +330,7 @@ int cxdx_send_sar(struct sip_msg *msg, str public_identity, str
private_identity
}
if (!sar) goto error1;
- if (!cxdx_add_call_id(sar, cscf_get_call_id(msg, &hdr)));
+ if (!cxdx_add_call_id(sar, cscf_get_call_id(msg, &hdr))) goto error1;
if (!cxdx_add_destination_realm(sar, cxdx_dest_realm)) goto error1;
if (!cxdx_add_vendor_specific_appid(sar, IMS_vendor_id_3GPP, IMS_Cx, 0 /*IMS_Cx*/))
goto error1;