Browse code

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

pd authored on 08/12/2011 21:46:48
Showing 2 changed files
... ...
@@ -100,7 +100,7 @@ void get_dialog_from_did(char* did, subs_t **dialog, unsigned int *hash_code)
100 100
 
101 101
 		if(*dialog==NULL)
102 102
 		{
103
-			LM_ERR("record not retrieved from db [rlsubs_did]= %s\n", did);
103
+			LM_INFO("record not retrieved from db [rlsubs_did]= %s\n", did);
104 104
 			return;
105 105
 		}
106 106
 	}
... ...
@@ -113,7 +113,7 @@ void get_dialog_from_did(char* did, subs_t **dialog, unsigned int *hash_code)
113 113
 
114 114
 		if(s== NULL)
115 115
 		{
116
-			LM_ERR("record not found in hash_table [rlsubs_did]= %s\n",
116
+			LM_INFO("record not found in hash_table [rlsubs_did]= %s\n",
117 117
 					did);
118 118
 			lock_release(&rls_table[*hash_code].lock);
119 119
 			return;
... ...
@@ -250,7 +250,7 @@ void send_notifies(db1_res_t *result, int did_col, int resource_uri_col, int aut
250 250
                 if(dialog== NULL)
251 251
                 {
252 252
                     prev_did = NULL;
253
-                    LM_ERR("Dialog is NULL\n");
253
+                    LM_INFO("Dialog is NULL\n");
254 254
                     continue;
255 255
                 }
256 256
             }
... ...
@@ -1080,14 +1080,14 @@ subs_t *get_dialog_rlsdb( str callid, str to_tag, str from_tag )
1080 1080
 	if (nr_rows == 0)
1081 1081
 	{
1082 1082
 		/* no match */ 
1083
-		LM_ERR( "get_dialog_rlsb No matching records\n" );
1083
+		LM_INFO( "get_dialog_rlsdb No matching records\n" );
1084 1084
 		rls2_dbf.free_result(rls2_db, result);
1085 1085
 		return(NULL);
1086 1086
 	}
1087 1087
 
1088 1088
 	if (nr_rows != 1)
1089 1089
 	{
1090
-		LM_ERR( "get_dialog_rlsb multiple matching records\n" );
1090
+		LM_ERR( "get_dialog_rlsdb multiple matching records\n" );
1091 1091
 		rls2_dbf.free_result(rls2_db, result);
1092 1092
 		return(NULL);
1093 1093
 	}