Переглянути джерело

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

pd 13 роки тому
батько
коміт
0c352ed5eb
2 змінених файлів з 5 додано та 5 видалено
  1. 3 3
      modules_k/rls/resource_notify.c
  2. 2 2
      modules_k/rls/rls_db.c

+ 3 - 3
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)
 		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;
 			return;
 		}
 		}
 	}
 	}
@@ -113,7 +113,7 @@ void get_dialog_from_did(char* did, subs_t **dialog, unsigned int *hash_code)
 
 
 		if(s== NULL)
 		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);
 					did);
 			lock_release(&rls_table[*hash_code].lock);
 			lock_release(&rls_table[*hash_code].lock);
 			return;
 			return;
@@ -250,7 +250,7 @@ void send_notifies(db1_res_t *result, int did_col, int resource_uri_col, int aut
                 if(dialog== NULL)
                 if(dialog== NULL)
                 {
                 {
                     prev_did = NULL;
                     prev_did = NULL;
-                    LM_ERR("Dialog is NULL\n");
+                    LM_INFO("Dialog is NULL\n");
                     continue;
                     continue;
                 }
                 }
             }
             }

+ 2 - 2
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)
 	if (nr_rows == 0)
 	{
 	{
 		/* no match */ 
 		/* 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);
 		rls2_dbf.free_result(rls2_db, result);
 		return(NULL);
 		return(NULL);
 	}
 	}
 
 
 	if (nr_rows != 1)
 	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);
 		rls2_dbf.free_result(rls2_db, result);
 		return(NULL);
 		return(NULL);
 	}
 	}