Module: kamailio Branch: master Commit: 88887fe7e7cd87e953eeb5a5bb998e693db08df8 URL: https://github.com/kamailio/kamailio/commit/88887fe7e7cd87e953eeb5a5bb998e69...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2018-08-13T13:35:17+02:00
ims_ipsec_pcscf: cast const param to get rid of compile warning
---
Modified: src/modules/ims_ipsec_pcscf/cmd.c
---
Diff: https://github.com/kamailio/kamailio/commit/88887fe7e7cd87e953eeb5a5bb998e69... Patch: https://github.com/kamailio/kamailio/commit/88887fe7e7cd87e953eeb5a5bb998e69...
---
diff --git a/src/modules/ims_ipsec_pcscf/cmd.c b/src/modules/ims_ipsec_pcscf/cmd.c index 2edabfb03f..b5741e30d8 100644 --- a/src/modules/ims_ipsec_pcscf/cmd.c +++ b/src/modules/ims_ipsec_pcscf/cmd.c @@ -195,7 +195,7 @@ static int get_ck_ik(const struct sip_msg* m, str* ck, str* ik) str www_auth; memset(&www_auth, 0, sizeof(str));
- www_auth = cscf_get_authenticate(m, &www_auth_hdr); + www_auth = cscf_get_authenticate((sip_msg_t*)m, &www_auth_hdr);
*ck = get_www_auth_param("ck", www_auth); if (ck->len == 0) {