[sr-dev] git:master:54c87a80: modules/ims_usrloc_scscf: extra debugging for contact deletion

jaybeepee jason.penton at gmail.com
Mon Feb 29 13:26:45 CET 2016


Module: kamailio
Branch: master
Commit: 54c87a803d877f40d2915f304c5a67d8ff6a25e8
URL: https://github.com/kamailio/kamailio/commit/54c87a803d877f40d2915f304c5a67d8ff6a25e8

Author: jaybeepee <jason.penton at gmail.com>
Committer: jaybeepee <jason.penton at gmail.com>
Date: 2016-02-29T14:26:36+02:00

modules/ims_usrloc_scscf: extra debugging for contact deletion

---

Modified: modules/ims_usrloc_scscf/ucontact.c

---

Diff:  https://github.com/kamailio/kamailio/commit/54c87a803d877f40d2915f304c5a67d8ff6a25e8.diff
Patch: https://github.com/kamailio/kamailio/commit/54c87a803d877f40d2915f304c5a67d8ff6a25e8.patch

---

diff --git a/modules/ims_usrloc_scscf/ucontact.c b/modules/ims_usrloc_scscf/ucontact.c
index 971cf88..ac18d15 100644
--- a/modules/ims_usrloc_scscf/ucontact.c
+++ b/modules/ims_usrloc_scscf/ucontact.c
@@ -186,7 +186,7 @@ void free_ucontact(ucontact_t* _c) {
     param_t * tmp, *tmp1;
     
     if (!_c) return;
-    LM_DBG("Freeing ucontact [%.*s]\n", _c->aor.len, _c->aor.s);    
+    LM_DBG("Freeing ucontact [%p] => [%.*s]\n", _c, _c->c.len, _c->c.s);    
     if (_c->path.s) shm_free(_c->path.s);
     if (_c->received.s) shm_free(_c->received.s);
     if (_c->user_agent.s) shm_free(_c->user_agent.s);




More information about the sr-dev mailing list