Module: kamailio
Branch: 5.4
Commit: c9a46eb88365add327b5d6f11f121c26a6230e58
URL: https://github.com/kamailio/kamailio/commit/c9a46eb88365add327b5d6f11f121c2…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-03-01T18:31:49+01:00
ims_qos: typos in comments
(cherry picked from commit f9c336aa9a78169cf9c7f3fd9bfcfd22218078fb)
---
Modified: src/modules/ims_qos/ims_qos_mod.c
Modified: src/modules/ims_qos/rx_aar.c
---
Diff: https://github.com/kamailio/kamailio/commit/c9a46eb88365add327b5d6f11f121c2…
Patch: https://github.com/kamailio/kamailio/commit/c9a46eb88365add327b5d6f11f121c2…
---
diff --git a/src/modules/ims_qos/ims_qos_mod.c b/src/modules/ims_qos/ims_qos_mod.c
index e58dd2c140..a49ee1bd90 100644
--- a/src/modules/ims_qos/ims_qos_mod.c
+++ b/src/modules/ims_qos/ims_qos_mod.c
@@ -597,7 +597,7 @@ void callback_pcscf_contact_cb(struct pcontact *c, int type, void *param)
if (type == PCSCF_CONTACT_EXPIRE || type == PCSCF_CONTACT_DELETE) {
- //we dont need to send STR if no QoS was ever succesfully registered!
+ // we dont need to send STR if no QoS was ever successfully registered!
if (must_send_str && (c->reg_state != PCONTACT_REG_PENDING) && (c->reg_state != PCONTACT_REG_PENDING_AAR)) {
LM_DBG("Received notification of contact (in state [%d] deleted for signalling bearer with with Rx session ID: [%.*s]\n",
c->reg_state, c->rx_session_id.len, c->rx_session_id.s);
diff --git a/src/modules/ims_qos/rx_aar.c b/src/modules/ims_qos/rx_aar.c
index d9f242f43b..756ed2a663 100644
--- a/src/modules/ims_qos/rx_aar.c
+++ b/src/modules/ims_qos/rx_aar.c
@@ -328,7 +328,8 @@ void async_aar_reg_callback(int is_timeout, void *param, AAAMessage *aaa, long e
}
//at this point we have the contact
- /*set the contact state to say we have succesfully done ARR for register and that we dont need to do it again
+ /*set the contact state to say we have successfully done ARR for register
+ * and that we dont need to do it again
* for the duration of the registration.
* */
if (ul.update_rx_regsession(domain_t, &local_data->auth_session_id, pcontact) != 0) {
### Description
I want to be sure my customization does not produce memory leack.
To get this work I want to use the ASAN project.
Could you add `mode=asan` build option that adds gcc ` -fsanitize=address -static-libasan` options `-lasan` linker flags.
More info
https://www.osc.edu/resources/getting_started/howto/howto_use_address_sanit…
Maybe important.
ASAN expects linked first
```
[root@b276215a3a22 kamailio]# kamailio -DD -E
==13760==ASan runtime does not come first in initial library list; you should either link runtime to your application or manually preload it with LD_PRELOAD.
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2650