Kaynağa Gözat

core: fix spelling errors catched by lintian #688

Victor Seva 9 yıl önce
ebeveyn
işleme
96e0b967be
4 değiştirilmiş dosya ile 5 ekleme ve 5 silme
  1. 1 1
      cfg.lex
  2. 1 1
      cfg.y
  3. 2 2
      lib/xcap/xcap_client.c
  4. 1 1
      tcp_options.c

+ 1 - 1
cfg.lex

@@ -1329,7 +1329,7 @@ IMPORTFILE      "import_file"
 										case PVAR_P_S: 
 											LOG(L_CRIT, "ERROR: unexpected EOF"
 													" while parsing pvar name"
-													" (%d paranthesis open)\n",
+													" (%d parenthesis open)\n",
 													p_nest);
 											break;
 										case AVP_PVAR_S:

+ 1 - 1
cfg.y

@@ -2620,7 +2620,7 @@ avp_pvar:	AVP_OR_PVAR {
 					lval_tmp->type=LV_PVAR;
 				}
 				$$ = lval_tmp;
-				DBG("parsed ambigous avp/pvar \"%.*s\" to %d\n",
+				DBG("parsed ambiguous avp/pvar \"%.*s\" to %d\n",
 							s_tmp.len, s_tmp.s, lval_tmp->type);
 			}
 	;

+ 2 - 2
lib/xcap/xcap_client.c

@@ -47,7 +47,7 @@ static const str_t *get_xcap_doc_dir(xcap_document_type_t doc_type)
 		case xcap_doc_resource_lists: return &resource_lists;
 		/* when new doc_type added, there will be a warning -> add it there */
 	}
-	WARN_LOG("unknow XCAP document type\n");
+	WARN_LOG("unknown XCAP document type\n");
 	return NULL;
 }
 
@@ -65,7 +65,7 @@ static const str_t *get_default_user_doc(xcap_document_type_t doc_type)
 		case xcap_doc_resource_lists: return &resource_lists;
 		/* when new doc_type added, there will be a warning -> add it there */
 	}
-	WARN_LOG("unknow XCAP document type\n");
+	WARN_LOG("unknown XCAP document type\n");
 	return NULL;
 }
 

+ 1 - 1
tcp_options.c

@@ -105,7 +105,7 @@ static cfg_def_t tcp_cfg_def[] = {
 	{ "new_conn_alias_flags", CFG_VAR_INT | CFG_ATOMIC, 0,    2,  0,         0,
 		"flags for the def. aliases for a new conn. (FORCE_ADD:1, REPLACE:2 "},
 	{ "accept_no_cl",   CFG_VAR_INT | CFG_ATOMIC,   0,        1,  0,         0,
-		"accept TCP messges without Content-Length "},
+		"accept TCP messages without Content-Length "},
 	/* internal and/or "fixed" versions of some vars
 	   (not supposed to be writeable, read will provide only debugging value*/
 	{ "rd_buf_size", CFG_VAR_INT | CFG_ATOMIC,    512,    16777216,  0,         0,