Browse code

auth: coherent log message content with header parsing

Daniel-Constantin Mierla authored on 03/07/2022 10:20:05
Showing 1 changed files
... ...
@@ -450,12 +450,12 @@ int ki_has_credentials(sip_msg_t *msg, str* srealm)
450 450
 
451 451
 	ret = find_credentials(msg, srealm, HDR_PROXYAUTH_T, &hdr);
452 452
 	if(ret==0) {
453
-		LM_DBG("found www credentials with realm [%.*s]\n", srealm->len, srealm->s);
453
+		LM_DBG("found proxy credentials with realm [%.*s]\n", srealm->len, srealm->s);
454 454
 		return 1;
455 455
 	}
456 456
 	ret = find_credentials(msg, srealm, HDR_AUTHORIZATION_T, &hdr);
457 457
 	if(ret==0) {
458
-		LM_DBG("found proxy credentials with realm [%.*s]\n", srealm->len, srealm->s);
458
+		LM_DBG("found www credentials with realm [%.*s]\n", srealm->len, srealm->s);
459 459
 		return 1;
460 460
 	}
461 461