[sr-dev] git:master:6637bb23: core: fix spelling errors catched by lintian #688

Victor Seva vseva at sipwise.com
Wed Jun 29 16:31:30 CEST 2016


Module: kamailio
Branch: master
Commit: 6637bb23c45659c72e96c239dd429f653d8b257b
URL: https://github.com/kamailio/kamailio/commit/6637bb23c45659c72e96c239dd429f653d8b257b

Author: Victor Seva <vseva at sipwise.com>
Committer: Victor Seva <vseva at sipwise.com>
Date: 2016-06-29T16:29:17+02:00

core: fix spelling errors catched by lintian #688

---

Modified: cfg_core.c
Modified: cfg_parser.c
Modified: daemonize.c
Modified: lvalue.c
Modified: tcp_stats.c
Modified: timer_proc.c

---

Diff:  https://github.com/kamailio/kamailio/commit/6637bb23c45659c72e96c239dd429f653d8b257b.diff
Patch: https://github.com/kamailio/kamailio/commit/6637bb23c45659c72e96c239dd429f653d8b257b.patch

---

diff --git a/cfg_core.c b/cfg_core.c
index 4f23f8a..12246a4 100644
--- a/cfg_core.c
+++ b/cfg_core.c
@@ -140,7 +140,7 @@ static int check_raw_sock_support(void* cfg_h, str* gname, str* name,
 #else /* USE_RAW_SOCKS */
 	if (raw_udp4_send_sock < 0) {
 		if (val > 0) {
-			ERR("could not intialize raw socket on startup, please "
+			ERR("could not initialize raw socket on startup, please "
 					"restart as root or with CAP_NET_RAW\n");
 			return -1;
 		} else if (val < 0) {
diff --git a/cfg_parser.c b/cfg_parser.c
index d8cb21e..7808615 100644
--- a/cfg_parser.c
+++ b/cfg_parser.c
@@ -613,7 +613,7 @@ static char* get_base_name(str* filename)
 
 
 
-/** intialize the config parser.
+/** initialize the config parser.
  * @param basedir - path to the config file name. If 0 the path
  *               (base directory) of the main ser.cfg file will be used, else
  *               basedir will be concatenated to the filename. It will be
diff --git a/daemonize.c b/daemonize.c
index 9d936d4..524021d 100644
--- a/daemonize.c
+++ b/daemonize.c
@@ -114,7 +114,7 @@ int daemon_status_pre_daemonize(void)
 /** wait for an exit status to be send by daemon_status_send().
  * @param status - filled with the sent status (a char).
  * @return  0 on success, -1 on error (e.g. process died before sending
- *          status, not intialized a.s.o.).
+ *          status, not initialized a.s.o.).
  * Side-effects: it will close the write side of the pipe
  *  (must not be used from the same process as the daemon_status_send()).
  * Note: if init is not complete (only init, but no pre-daemonize)
diff --git a/lvalue.c b/lvalue.c
index 89e1f4e..b348b53 100644
--- a/lvalue.c
+++ b/lvalue.c
@@ -83,7 +83,7 @@ inline static int lval_avp_assign(struct run_act_ctx* h, struct sip_msg* msg,
 	
 	switch(rv->type){
 		case RV_NONE:
-			BUG("non-intialized rval / rval expr \n");
+			BUG("non-initialized rval / rval expr \n");
 			/* unknown value => reset the avp in function of its type */
 			flags=avp->type;
 			AVP_ASSIGN_NOVAL();
@@ -262,7 +262,7 @@ inline static int lval_pvar_assign(struct run_act_ctx* h, struct sip_msg* msg,
 	ret=0;
 	switch(rv->type){
 		case RV_NONE:
-			BUG("non-intialized rval / rval expr \n");
+			BUG("non-initialized rval / rval expr \n");
 			PVAR_ASSIGN_NOVAL();
 			ret=-1;
 			break;
diff --git a/tcp_stats.c b/tcp_stats.c
index 3dac067..3966af1 100644
--- a/tcp_stats.c
+++ b/tcp_stats.c
@@ -91,7 +91,7 @@ static counter_val_t tcp_info(counter_handle_t h, void* what)
 	return 0;
 }
 
-/** intialize tcp statistics.
+/** initialize tcp statistics.
  *  Must be called before forking.
  * @return < 0 on errror, 0 on success.
  */
diff --git a/timer_proc.c b/timer_proc.c
index 5b8374f..e5b080c 100644
--- a/timer_proc.c
+++ b/timer_proc.c
@@ -323,7 +323,7 @@ int sr_wtimer_add(timer_function* f, void* param, int interval)
 {
 	sr_wtimer_node_t *wt;
 	if(_sr_wtimer==NULL) {
-		LM_ERR("wtimer not intialized\n");
+		LM_ERR("wtimer not initialized\n");
 		return -1;
 	}
 
@@ -371,7 +371,7 @@ void sr_wtimer_exec(unsigned int ticks, void *param)
 	uint32_t cs;
 
 	if(_sr_wtimer==NULL) {
-		LM_ERR("wtimer not intialized\n");
+		LM_ERR("wtimer not initialized\n");
 		return;
 	}
 
@@ -409,7 +409,7 @@ void sr_wtimer_exec(unsigned int ticks, void *param)
 int sr_wtimer_start(void)
 {
 	if(_sr_wtimer==NULL) {
-		LM_ERR("wtimer not intialized\n");
+		LM_ERR("wtimer not initialized\n");
 		return -1;
 	}
 




More information about the sr-dev mailing list