浏览代码

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

Daniel-Constantin Mierla 8 年之前
父节点
当前提交
88612ea4ed
共有 1 个文件被更改,包括 2 次插入1 次删除
  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;
 		}
 	}