浏览代码

fix typos detected by lintian tool from built binaries

Victor Seva 11 年之前
父节点
当前提交
4e58ba4608

+ 1 - 1
modules/app_java/java_iface.c

@@ -126,7 +126,7 @@ int java_exec(struct sip_msg *msgp, int is_static, int is_synchronized, char *me
 
 
     if (param == NULL && strcmp(signature, "V"))
     if (param == NULL && strcmp(signature, "V"))
     {
     {
-	LM_ERR("java_method_exec(): no paramter (parameter is NULL) but signature '%s' is not equals to 'V'.\n", signature);
+	LM_ERR("java_method_exec(): no parameter (parameter is NULL) but signature '%s' is not equals to 'V'.\n", signature);
 	return -1;
 	return -1;
     }
     }
 
 

+ 1 - 1
modules/drouting/README

@@ -577,7 +577,7 @@ modparam("drouting", "drl_table", "my_gw_lists")
        It is ok to have repeating gateways in different groups. The module
        It is ok to have repeating gateways in different groups. The module
        will take care internally in case of failure not to choose a
        will take care internally in case of failure not to choose a
        gateway that was tried already.
        gateway that was tried already.
-       Ex: 1,2,3; 1,2,3; 1,2,3 -> no gateway will be choosen twice. So in
+       Ex: 1,2,3; 1,2,3; 1,2,3 -> no gateway will be chosen twice. So in
        case there are 2 failures, all the three gateways (1,2,3) will be
        case there are 2 failures, all the three gateways (1,2,3) will be
        tried in a random order.
        tried in a random order.
 
 

+ 1 - 1
modules/drouting/doc/drouting_admin.xml

@@ -957,7 +957,7 @@ modparam("drouting", "drl_table", "my_gw_lists")
 			was tried already.
 			was tried already.
 			</para>
 			</para>
 			<para>
 			<para>
-			Ex: 1,2,3; 1,2,3; 1,2,3 -> no gateway will be choosen twice. So in case there
+			Ex: 1,2,3; 1,2,3; 1,2,3 -> no gateway will be chosen twice. So in case there
 			are 2 failures, all the three gateways (1,2,3) will be tried in a random order.
 			are 2 failures, all the three gateways (1,2,3) will be tried in a random order.
 			</para>
 			</para>
 		</listitem>
 		</listitem>

+ 1 - 1
modules/drouting/drouting.c

@@ -652,7 +652,7 @@ int dr_already_choosen(rt_info_t* rt_info, int* local_gwlist, int lgw_size, int
 
 
 	for ( l = 0; l<lgw_size; l++ ) {
 	for ( l = 0; l<lgw_size; l++ ) {
 		if ( rt_info->pgwl[local_gwlist[l]].pgw == rt_info->pgwl[check].pgw ) {
 		if ( rt_info->pgwl[local_gwlist[l]].pgw == rt_info->pgwl[check].pgw ) {
-			LM_INFO("Gateway already choosen %.*s, local_gwlist[%d]=%d, %d\n",
+			LM_INFO("Gateway already chosen %.*s, local_gwlist[%d]=%d, %d\n",
 					rt_info->pgwl[check].pgw->ip.len, rt_info->pgwl[check].pgw->ip.s, l, local_gwlist[l], check);
 					rt_info->pgwl[check].pgw->ip.len, rt_info->pgwl[check].pgw->ip.s, l, local_gwlist[l], check);
 			return 1;
 			return 1;
 		}
 		}

+ 1 - 1
modules/mtree/mtree_mod.c

@@ -1177,7 +1177,7 @@ error:
 
 
 static const char* rpc_mtree_match_doc[6] = {
 static const char* rpc_mtree_match_doc[6] = {
 	"Match prefix value against mtree",
 	"Match prefix value against mtree",
-	"uses three required parametes",
+	"uses three required parameters",
 	"tname - tree name",
 	"tname - tree name",
 	"prefix - prefix for matching",
 	"prefix - prefix for matching",
 	"mode - mode for matching (0 or 2)",
 	"mode - mode for matching (0 or 2)",

+ 1 - 1
modules/outbound/ob_mod.c

@@ -326,7 +326,7 @@ static int use_outbound_register(struct sip_msg *msg)
 		
 		
 		if (contact->reg_id)
 		if (contact->reg_id)
 		{
 		{
-			LM_DBG("found REGISTER with ;reg-id paramter on"
+			LM_DBG("found REGISTER with ;reg-id parameter on"
 				" Contact-URI - outbound used\n");
 				" Contact-URI - outbound used\n");
 			return 1;
 			return 1;
 		}
 		}

+ 1 - 1
modules/websocket/ws_frame.c

@@ -672,7 +672,7 @@ int ws_frame_receive(void *data)
 			}
 			}
 			else
 			else
 			{
 			{
-				LM_ERR("no callback registerd for MSRP\n");
+				LM_ERR("no callback registered for MSRP\n");
 				return -1;
 				return -1;
 			}
 			}
 		}
 		}