[sr-dev] git:master: fix typos detected by lintian tool from built binaries

Victor Seva linuxmaniac at torreviejawireless.org
Wed Feb 12 14:46:14 CET 2014


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

Author: Victor Seva <linuxmaniac at torreviejawireless.org>
Committer: Victor Seva <linuxmaniac at torreviejawireless.org>
Date:   Wed Feb 12 14:44:22 2014 +0100

fix typos detected by lintian tool from built binaries

---

 modules/app_java/java_iface.c           |    2 +-
 modules/drouting/README                 |    2 +-
 modules/drouting/doc/drouting_admin.xml |    2 +-
 modules/drouting/drouting.c             |    2 +-
 modules/mtree/mtree_mod.c               |    2 +-
 modules/outbound/ob_mod.c               |    2 +-
 modules/websocket/ws_frame.c            |    2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/modules/app_java/java_iface.c b/modules/app_java/java_iface.c
index 66cb5f5..4acbbf5 100644
--- a/modules/app_java/java_iface.c
+++ b/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"))
     {
-	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;
     }
 
diff --git a/modules/drouting/README b/modules/drouting/README
index 2977033..a1171f9 100644
--- a/modules/drouting/README
+++ b/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
        will take care internally in case of failure not to choose a
        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
        tried in a random order.
 
diff --git a/modules/drouting/doc/drouting_admin.xml b/modules/drouting/doc/drouting_admin.xml
index 7bde362..cebbe60 100644
--- a/modules/drouting/doc/drouting_admin.xml
+++ b/modules/drouting/doc/drouting_admin.xml
@@ -957,7 +957,7 @@ modparam("drouting", "drl_table", "my_gw_lists")
 			was tried already.
 			</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.
 			</para>
 		</listitem>
diff --git a/modules/drouting/drouting.c b/modules/drouting/drouting.c
index 60006b1..d7307cf 100644
--- a/modules/drouting/drouting.c
+++ b/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++ ) {
 		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);
 			return 1;
 		}
diff --git a/modules/mtree/mtree_mod.c b/modules/mtree/mtree_mod.c
index 49d9a38..4aa1d6b 100644
--- a/modules/mtree/mtree_mod.c
+++ b/modules/mtree/mtree_mod.c
@@ -1177,7 +1177,7 @@ error:
 
 static const char* rpc_mtree_match_doc[6] = {
 	"Match prefix value against mtree",
-	"uses three required parametes",
+	"uses three required parameters",
 	"tname - tree name",
 	"prefix - prefix for matching",
 	"mode - mode for matching (0 or 2)",
diff --git a/modules/outbound/ob_mod.c b/modules/outbound/ob_mod.c
index 038c5fa..868aa49 100644
--- a/modules/outbound/ob_mod.c
+++ b/modules/outbound/ob_mod.c
@@ -326,7 +326,7 @@ static int use_outbound_register(struct sip_msg *msg)
 		
 		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");
 			return 1;
 		}
diff --git a/modules/websocket/ws_frame.c b/modules/websocket/ws_frame.c
index ba0713b..cfb01a7 100644
--- a/modules/websocket/ws_frame.c
+++ b/modules/websocket/ws_frame.c
@@ -672,7 +672,7 @@ int ws_frame_receive(void *data)
 			}
 			else
 			{
-				LM_ERR("no callback registerd for MSRP\n");
+				LM_ERR("no callback registered for MSRP\n");
 				return -1;
 			}
 		}




More information about the sr-dev mailing list