Module: kamailio
Branch: master
Commit: 267d4ad48ac8426b3d5c53724281605a74d07999
URL:
https://github.com/kamailio/kamailio/commit/267d4ad48ac8426b3d5c53724281605…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-07-04T10:04:47+02:00
auth: coherent log message content with header parsing
---
Modified: src/modules/auth/auth_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/267d4ad48ac8426b3d5c53724281605…
Patch:
https://github.com/kamailio/kamailio/commit/267d4ad48ac8426b3d5c53724281605…
---
diff --git a/src/modules/auth/auth_mod.c b/src/modules/auth/auth_mod.c
index 6f7639619a..3a05689f00 100644
--- a/src/modules/auth/auth_mod.c
+++ b/src/modules/auth/auth_mod.c
@@ -450,12 +450,12 @@ int ki_has_credentials(sip_msg_t *msg, str* srealm)
ret = find_credentials(msg, srealm, HDR_PROXYAUTH_T, &hdr);
if(ret==0) {
- LM_DBG("found www credentials with realm [%.*s]\n", srealm->len,
srealm->s);
+ LM_DBG("found proxy credentials with realm [%.*s]\n", srealm->len,
srealm->s);
return 1;
}
ret = find_credentials(msg, srealm, HDR_AUTHORIZATION_T, &hdr);
if(ret==0) {
- LM_DBG("found proxy credentials with realm [%.*s]\n", srealm->len,
srealm->s);
+ LM_DBG("found www credentials with realm [%.*s]\n", srealm->len,
srealm->s);
return 1;
}