[sr-dev] git:master: modules_k/rls: Fixed some diagnostics that had typos and were at the wrong levels

Peter Dunkley peter.dunkley at crocodile-rcs.com
Thu Dec 8 23:08:42 CET 2011


Module: sip-router
Branch: master
Commit: 0c352ed5eb8baa6754f0e38cd04f5d365fb1c5bb
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0c352ed5eb8baa6754f0e38cd04f5d365fb1c5bb

Author: pd <peter.dunkley at crocodile-rcs.com>
Committer: pd <peter.dunkley at crocodile-rcs.com>
Date:   Thu Dec  8 21:46:48 2011 +0000

modules_k/rls: Fixed some diagnostics that had typos and were at the wrong levels

---

 modules_k/rls/resource_notify.c |    6 +++---
 modules_k/rls/rls_db.c          |    4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/modules_k/rls/resource_notify.c b/modules_k/rls/resource_notify.c
index 6d3fde5..e1da848 100644
--- a/modules_k/rls/resource_notify.c
+++ b/modules_k/rls/resource_notify.c
@@ -100,7 +100,7 @@ void get_dialog_from_did(char* did, subs_t **dialog, unsigned int *hash_code)
 
 		if(*dialog==NULL)
 		{
-			LM_ERR("record not retrieved from db [rlsubs_did]= %s\n", did);
+			LM_INFO("record not retrieved from db [rlsubs_did]= %s\n", did);
 			return;
 		}
 	}
@@ -113,7 +113,7 @@ void get_dialog_from_did(char* did, subs_t **dialog, unsigned int *hash_code)
 
 		if(s== NULL)
 		{
-			LM_ERR("record not found in hash_table [rlsubs_did]= %s\n",
+			LM_INFO("record not found in hash_table [rlsubs_did]= %s\n",
 					did);
 			lock_release(&rls_table[*hash_code].lock);
 			return;
@@ -250,7 +250,7 @@ void send_notifies(db1_res_t *result, int did_col, int resource_uri_col, int aut
                 if(dialog== NULL)
                 {
                     prev_did = NULL;
-                    LM_ERR("Dialog is NULL\n");
+                    LM_INFO("Dialog is NULL\n");
                     continue;
                 }
             }
diff --git a/modules_k/rls/rls_db.c b/modules_k/rls/rls_db.c
index 1d63d17..17e4b78 100644
--- a/modules_k/rls/rls_db.c
+++ b/modules_k/rls/rls_db.c
@@ -1080,14 +1080,14 @@ subs_t *get_dialog_rlsdb( str callid, str to_tag, str from_tag )
 	if (nr_rows == 0)
 	{
 		/* no match */ 
-		LM_ERR( "get_dialog_rlsb No matching records\n" );
+		LM_INFO( "get_dialog_rlsdb No matching records\n" );
 		rls2_dbf.free_result(rls2_db, result);
 		return(NULL);
 	}
 
 	if (nr_rows != 1)
 	{
-		LM_ERR( "get_dialog_rlsb multiple matching records\n" );
+		LM_ERR( "get_dialog_rlsdb multiple matching records\n" );
 		rls2_dbf.free_result(rls2_db, result);
 		return(NULL);
 	}




More information about the sr-dev mailing list