[sr-dev] git:master: auth: enhanced log message when method param fails to be retrieved
Daniel-Constantin Mierla
miconda at gmail.com
Wed Jun 11 19:07:29 CEST 2014
Module: sip-router
Branch: master
Commit: 35329870fe22115fd24a396b743e4814278ce46a
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=35329870fe22115fd24a396b743e4814278ce46a
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: Wed Jun 11 19:01:17 2014 +0200
auth: enhanced log message when method param fails to be retrieved
---
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;
}
More information about the sr-dev
mailing list