[sr-dev] git:master:96e0b967: core: fix spelling errors catched by lintian #688
Victor Seva
linuxmaniac at torreviejawireless.org
Wed Jun 29 16:57:31 CEST 2016
Module: kamailio
Branch: master
Commit: 96e0b967becd127c8c528eaf78285a4127207715
URL: https://github.com/kamailio/kamailio/commit/96e0b967becd127c8c528eaf78285a4127207715
Author: Victor Seva <linuxmaniac at torreviejawireless.org>
Committer: Victor Seva <linuxmaniac at torreviejawireless.org>
Date: 2016-06-29T16:56:44+02:00
core: fix spelling errors catched by lintian #688
---
Modified: cfg.lex
Modified: cfg.y
Modified: lib/xcap/xcap_client.c
Modified: tcp_options.c
---
Diff: https://github.com/kamailio/kamailio/commit/96e0b967becd127c8c528eaf78285a4127207715.diff
Patch: https://github.com/kamailio/kamailio/commit/96e0b967becd127c8c528eaf78285a4127207715.patch
---
diff --git a/cfg.lex b/cfg.lex
index 9410506..3783c00 100644
--- a/cfg.lex
+++ b/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:
diff --git a/cfg.y b/cfg.y
index 134e932..9f25173 100644
--- a/cfg.y
+++ b/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);
}
;
diff --git a/lib/xcap/xcap_client.c b/lib/xcap/xcap_client.c
index ea0af04..6c00c82 100644
--- a/lib/xcap/xcap_client.c
+++ b/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;
}
diff --git a/tcp_options.c b/tcp_options.c
index 60eb2b3..a728b7f 100644
--- a/tcp_options.c
+++ b/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,
More information about the sr-dev
mailing list