From 267d4ad48ac8426b3d5c53724281605a74d07999 Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Sun, 3 Jul 2022 12:20:05 +0200 Subject: [PATCH] auth: coherent log message content with header parsing --- src/modules/auth/auth_mod.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/auth/auth_mod.c b/src/modules/auth/auth_mod.c index 6f7639619af..3a05689f002 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; }