Module: kamailio
Branch: master
Commit: db5ec271134f8c442bcaa91e8adfaaf3c6db5cba
URL:
https://github.com/kamailio/kamailio/commit/db5ec271134f8c442bcaa91e8adfaaf…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-01-10T12:58:27+01:00
rtp_media_server: removed fl variable which is not updated, thus not really used
---
Modified: src/modules/rtp_media_server/rtp_media_server.c
---
Diff:
https://github.com/kamailio/kamailio/commit/db5ec271134f8c442bcaa91e8adfaaf…
Patch:
https://github.com/kamailio/kamailio/commit/db5ec271134f8c442bcaa91e8adfaaf…
---
diff --git a/src/modules/rtp_media_server/rtp_media_server.c
b/src/modules/rtp_media_server/rtp_media_server.c
index e29a43aa4b..ac1e8ba73b 100644
--- a/src/modules/rtp_media_server/rtp_media_server.c
+++ b/src/modules/rtp_media_server/rtp_media_server.c
@@ -941,7 +941,6 @@ static int rms_sip_cancel(struct sip_msg *msg, str *callid_s, str
*cseq_s)
tm_cell_t *bkt;
int bkb;
struct cancel_info cancel_data;
- int fl = 0;
int rcode = 0;
bkt = tmb.t_gett();
@@ -955,8 +954,6 @@ static int rms_sip_cancel(struct sip_msg *msg, str *callid_s, str
*cseq_s)
return 1;
}
- if(trans->uas.request && fl>0 && fl<32)
- setflag(trans->uas.request, fl);
init_cancel_info(&cancel_data);
cancel_data.reason.cause = rcode;
cancel_data.cancel_bitmap = 0;