Module: sip-router
Branch: master
Commit: 9f93ecb5f7072826e3cff1ea575d904a3763f868
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=9f93ecb…
Author: pd <peter.dunkley(a)crocodile-rcs.com>
Committer: pd <peter.dunkley(a)crocodile-rcs.com>
Date: Thu Jul 21 15:01:00 2011 +0100
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.
---
modules_k/pdt/pdtree.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules_k/pdt/pdtree.c b/modules_k/pdt/pdtree.c
index 22e78db..c0fa4bb 100644
--- a/modules_k/pdt/pdtree.c
+++ b/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;
}