Module: sip-router Branch: 4.1 Commit: 3997dcccf36579442cb92222fe0868accd64b537 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=3997dccc...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: Wed Jun 11 19:01:17 2014 +0200
auth: enhanced log message when method param fails to be retrieved
(cherry picked from commit 35329870fe22115fd24a396b743e4814278ce46a)
---
modules/auth/auth_mod.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/auth/auth_mod.c b/modules/auth/auth_mod.c index cdfe459..a148053 100644 --- a/modules/auth/auth_mod.c +++ b/modules/auth/auth_mod.c @@ -687,7 +687,7 @@ static int pv_www_authenticate2(struct sip_msg *msg, char* realm, }
if (get_str_fparam(&smethod, msg, (fparam_t*)method) < 0) { - LM_ERR("failed to get method value\n"); + LM_ERR("failed to get method value from msg %p var %p\n", msg, method); goto error; }