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 <[email protected]>
Committer: pd <[email protected]>
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);
        }


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to