Browse code

core: fix spelling errors catched by lintian #688

Victor Seva authored on 29/06/2016 14:29:17
Showing 6 changed files
... ...
@@ -140,7 +140,7 @@ static int check_raw_sock_support(void* cfg_h, str* gname, str* name,
140 140
 #else /* USE_RAW_SOCKS */
141 141
 	if (raw_udp4_send_sock < 0) {
142 142
 		if (val > 0) {
143
-			ERR("could not intialize raw socket on startup, please "
143
+			ERR("could not initialize raw socket on startup, please "
144 144
 					"restart as root or with CAP_NET_RAW\n");
145 145
 			return -1;
146 146
 		} else if (val < 0) {
... ...
@@ -613,7 +613,7 @@ static char* get_base_name(str* filename)
613 613
 
614 614
 
615 615
 
616
-/** intialize the config parser.
616
+/** initialize the config parser.
617 617
  * @param basedir - path to the config file name. If 0 the path
618 618
  *               (base directory) of the main ser.cfg file will be used, else
619 619
  *               basedir will be concatenated to the filename. It will be
... ...
@@ -114,7 +114,7 @@ retry:
114 114
 /** wait for an exit status to be send by daemon_status_send().
115 115
  * @param status - filled with the sent status (a char).
116 116
  * @return  0 on success, -1 on error (e.g. process died before sending
117
- *          status, not intialized a.s.o.).
117
+ *          status, not initialized a.s.o.).
118 118
  * Side-effects: it will close the write side of the pipe
119 119
  *  (must not be used from the same process as the daemon_status_send()).
120 120
  * Note: if init is not complete (only init, but no pre-daemonize)
... ...
@@ -83,7 +83,7 @@ inline static int lval_avp_assign(struct run_act_ctx* h, struct sip_msg* msg,
83 83
 	
84 84
 	switch(rv->type){
85 85
 		case RV_NONE:
86
-			BUG("non-intialized rval / rval expr \n");
86
+			BUG("non-initialized rval / rval expr \n");
87 87
 			/* unknown value => reset the avp in function of its type */
88 88
 			flags=avp->type;
89 89
 			AVP_ASSIGN_NOVAL();
... ...
@@ -262,7 +262,7 @@ inline static int lval_pvar_assign(struct run_act_ctx* h, struct sip_msg* msg,
262 262
 	ret=0;
263 263
 	switch(rv->type){
264 264
 		case RV_NONE:
265
-			BUG("non-intialized rval / rval expr \n");
265
+			BUG("non-initialized rval / rval expr \n");
266 266
 			PVAR_ASSIGN_NOVAL();
267 267
 			ret=-1;
268 268
 			break;
... ...
@@ -91,7 +91,7 @@ static counter_val_t tcp_info(counter_handle_t h, void* what)
91 91
 	return 0;
92 92
 }
93 93
 
94
-/** intialize tcp statistics.
94
+/** initialize tcp statistics.
95 95
  *  Must be called before forking.
96 96
  * @return < 0 on errror, 0 on success.
97 97
  */
... ...
@@ -323,7 +323,7 @@ int sr_wtimer_add(timer_function* f, void* param, int interval)
323 323
 {
324 324
 	sr_wtimer_node_t *wt;
325 325
 	if(_sr_wtimer==NULL) {
326
-		LM_ERR("wtimer not intialized\n");
326
+		LM_ERR("wtimer not initialized\n");
327 327
 		return -1;
328 328
 	}
329 329
 
... ...
@@ -371,7 +371,7 @@ void sr_wtimer_exec(unsigned int ticks, void *param)
371 371
 	uint32_t cs;
372 372
 
373 373
 	if(_sr_wtimer==NULL) {
374
-		LM_ERR("wtimer not intialized\n");
374
+		LM_ERR("wtimer not initialized\n");
375 375
 		return;
376 376
 	}
377 377
 
... ...
@@ -409,7 +409,7 @@ void sr_wtimer_exec(unsigned int ticks, void *param)
409 409
 int sr_wtimer_start(void)
410 410
 {
411 411
 	if(_sr_wtimer==NULL) {
412
-		LM_ERR("wtimer not intialized\n");
412
+		LM_ERR("wtimer not initialized\n");
413 413
 		return -1;
414 414
 	}
415 415