diff extensions/app_sip/multimediaauth.c @ 1443:ca7ca55e2488

app_sip: debug log a non-NULL value Detected by gcc 9.1.1.
author Luke Mewburn <luke@mewburn.net>
date Thu, 27 Feb 2020 16:27:48 +1100
parents c8057892e56b
children
line wrap: on
line diff
--- a/extensions/app_sip/multimediaauth.c	Thu Feb 27 16:19:24 2020 +1100
+++ b/extensions/app_sip/multimediaauth.c	Thu Feb 27 16:27:48 2020 +1100
@@ -148,7 +148,7 @@
 				
 				if(not_found)
 				{
-					TRACE_DEBUG(FULL,"The user %s doesn't exist!",username);
+					TRACE_DEBUG(FULL,"The user %s doesn't exist!", avphdr->avp_value->os.data);
 					result="DIAMETER_ERROR_USER_UNKNOWN";
 					free(username);	
 					goto out;
"Welcome to our mercurial repository"