Module: kamailio
Branch: master
Commit: 597a5d908b82b3333e05fdbd7c9b7b13261ed039
URL:
https://github.com/kamailio/kamailio/commit/597a5d908b82b3333e05fdbd7c9b7b1…
Author: Carsten Bock <carsten(a)ng-voice.com>
Committer: Carsten Bock <carsten(a)ng-voice.com>
Date: 2015-05-26T22:14:59+02:00
ims_usrloc_scscf: More details in Logfile
---
Modified: modules/ims_usrloc_scscf/bin_utils.c
---
Diff:
https://github.com/kamailio/kamailio/commit/597a5d908b82b3333e05fdbd7c9b7b1…
Patch:
https://github.com/kamailio/kamailio/commit/597a5d908b82b3333e05fdbd7c9b7b1…
---
diff --git a/modules/ims_usrloc_scscf/bin_utils.c b/modules/ims_usrloc_scscf/bin_utils.c
index ec87241..72a5b57 100644
--- a/modules/ims_usrloc_scscf/bin_utils.c
+++ b/modules/ims_usrloc_scscf/bin_utils.c
@@ -924,14 +924,16 @@ ims_subscription *bin_decode_ims_subscription(bin_data *x)
void lock_ims_subscription(ims_subscription * s) {
#ifdef EXTRA_DEBUG
- LM_DBG("LOCKING SUBSCRIPTION [%.*s]: %p (Refcount: %d)\n",
s->private_identity.len, s->private_identity.s, s->slock, s->ref_count);
+ LM_DBG("LOCKING SUBSCRIPTION %p (Refcount: %d)\n", s->slock,
s->ref_count);
+ LM_DBG("(SUBSCRIPTION PRIVATE IDENTITY [%.*s])\n",
s->private_identity.len, s->private_identity.s);
#endif
lock_get(s->slock);
}
void unlock_ims_subscription(ims_subscription * s) {
#ifdef EXTRA_DEBUG
- LM_DBG("UN-LOCKING SUBSCRIPTION [%.*s]: %p (Refcount: %d)\n",
s->private_identity.len, s->private_identity.s, s->slock, s->ref_count);
+ LM_DBG("UN-LOCKING SUBSCRIPTION %p (Refcount: %d)\n", s->slock,
s->ref_count);
+ LM_DBG("(SUBSCRIPTION PRIVATE IDENTITY [%.*s])\n",
s->private_identity.len, s->private_identity.s);
#endif
lock_release(s->slock);
}