Parcourir la source

uac: explicit name of the function called many times when updating from/to

Daniel-Constantin Mierla il y a 8 ans
Parent
commit
88612ea4ed
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      src/modules/uac/replace.c

+ 2 - 1
src/modules/uac/replace.c

@@ -262,7 +262,8 @@ int replace_uri( struct sip_msg *msg, str *display, str *uri,
 	if(get_route_type()==REQUEST_ROUTE) {
 		if(msg->msg_flags & uac_flag)
 		{
-			LM_ERR("Called uac_replace multiple times on the message\n");
+			LM_ERR("called uac_replace_%s() multiple times on the message\n",
+					(hdr==msg->from)?"from":"to");
 			return -1;
 		}
 	}