Explorar o código

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

Daniel-Constantin Mierla %!s(int64=8) %!d(string=hai) anos
pai
achega
88612ea4ed
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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;
 		}
 	}