浏览代码

pdt(k): made the "bad parameters" diagnostic in pdt_get_domain INFO

- I observed this message a few times while playing around with PDT.  It isn't
  really an error as it occurs when sdomain is NULL and sdomain does not have
  to be set at all.  Changed it to INFO for now.
pd 14 年之前
父节点
当前提交
9f93ecb5f7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules_k/pdt/pdtree.c

+ 1 - 1
modules_k/pdt/pdtree.c

@@ -294,7 +294,7 @@ str* pdt_get_domain(pdt_tree_t *pl, str* sdomain, str *code, int *plen)
 	if(pl==NULL || sdomain==NULL || sdomain->s==NULL || code == NULL
 			|| code->s == NULL)
 	{
-		LM_ERR("bad parameters\n");
+		LM_INFO("bad parameters\n");
 		return NULL;
 	}