From 6b3de4afc0e67119ad9a750d5ae4b8f7e019fcf9 Mon Sep 17 00:00:00 2001 From: Andrew Pogrebennyk Date: Sun, 16 Dec 2012 10:42:45 +0000 Subject: [PATCH] experimental debug for find_credentials. --- parser/digest/digest.c | 2 +- pkg/kamailio/deb/squeeze/changelog | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/parser/digest/digest.c b/parser/digest/digest.c index 66400b50d..a22393c5c 100644 --- a/parser/digest/digest.c +++ b/parser/digest/digest.c @@ -290,7 +290,7 @@ int find_credentials(struct sip_msg* msg, str* realm, return (res == -1) ? -2 : -3; } else if (res == 0) { r = &(((auth_body_t*)(ptr->parsed))->digest.realm); - + DBG("auth:find_credentials: compare realm '%.*s', len %d to parsed realm '%.*s', len %d\n", realm->s, realm->len, r->s, r->len); if (r->len == realm->len) { if (!strncasecmp(realm->s, r->s, r->len)) { *hdr = ptr; diff --git a/pkg/kamailio/deb/squeeze/changelog b/pkg/kamailio/deb/squeeze/changelog index 4b3b4841c..c45d9b51d 100644 --- a/pkg/kamailio/deb/squeeze/changelog +++ b/pkg/kamailio/deb/squeeze/changelog @@ -1,3 +1,9 @@ +kamailio (3.3+ngcp2.6.11) unstable; urgency=low + + * Add experimental debugging for find_credentials. + + -- Andrew Pogrebennyk Sun, 16 Dec 2012 11:38:23 +0100 + kamailio (3.3+ngcp2.6.10) unstable; urgency=low * Fix bag tagging.