[Asterisk-code-review] spelling: specified (asterisk[master])
Josh Soref
asteriskteam at digium.com
Sun Nov 7 00:17:09 CDT 2021
Josh Soref has uploaded this change for review. ( https://gerrit.asterisk.org/c/asterisk/+/17203 )
Change subject: spelling: specified
......................................................................
spelling: specified
Change-Id: I69b38921c9b1e3aa3e53c67638419f45fb20f613
---
M apps/app_voicemail.c
M channels/chan_dahdi.c
M channels/iax2/include/astobj.h
M channels/iax2/include/firmware.h
M menuselect/README
M pbx/pbx_dundi.c
6 files changed, 13 insertions(+), 13 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/03/17203/1
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 3f2e904..e11e1b9 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -13945,7 +13945,7 @@
smdi_iface = ast_smdi_interface_find("/dev/ttyS0");
}
if (!smdi_iface) {
- ast_log(AST_LOG_ERROR, "No valid SMDI interface specfied, disabling SMDI voicemail notification\n");
+ ast_log(AST_LOG_ERROR, "No valid SMDI interface specified, disabling SMDI voicemail notification\n");
}
}
diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c
index 5597b70..6dc5cf0 100644
--- a/channels/chan_dahdi.c
+++ b/channels/chan_dahdi.c
@@ -12712,7 +12712,7 @@
if (tmp->use_smdi) {
tmp->smdi_iface = ast_smdi_interface_find(conf->smdi_port);
if (!(tmp->smdi_iface)) {
- ast_log(LOG_ERROR, "Invalid SMDI port specfied, disabling SMDI support\n");
+ ast_log(LOG_ERROR, "Invalid SMDI port specified, disabling SMDI support\n");
tmp->use_smdi = 0;
}
}
diff --git a/channels/iax2/include/astobj.h b/channels/iax2/include/astobj.h
index 3aecc4d..f1f2e36 100644
--- a/channels/iax2/include/astobj.h
+++ b/channels/iax2/include/astobj.h
@@ -213,7 +213,7 @@
* \param object A pointer the object to operate on.
* \param destructor The destructor to call if the object is no longer referenced. It will be passed the pointer as an argument.
*
- * This macro unreferences an object and calls the specfied destructor if the
+ * This macro unreferences an object and calls the specified destructor if the
* object is no longer referenced. The destructor should free the object if it
* was dynamically allocated.
*/
@@ -358,7 +358,7 @@
* \param eval A statement to evaluate in the iteration loop.
*
* This is macro is a little complicated, but it may help to think of it as a
- * loop. Basically it iterates through the specfied container as long as the
+ * loop. Basically it iterates through the specified container as long as the
* condition is met. Two variables, iterator and next, are provided for use in
* your \p eval statement. See the sample code for an example.
*
@@ -393,7 +393,7 @@
* \param container A pointer to the container to search.
* \param namestr The name to search for.
*
- * Use this function to find an object with the specfied name in a container.
+ * Use this function to find an object with the specified name in a container.
*
* \note When the returned object is no longer in use, #ASTOBJ_UNREF() should
* be used to free the additional reference created by this macro.
@@ -468,7 +468,7 @@
* \param container A pointer to the container to operate on.
* \param obj A pointer to the object to remove.
*
- * This macro iterates through a container and removes the specfied object if
+ * This macro iterates through a container and removes the specified object if
* it exists in the container.
*
* \note This macro does not destroy any objects, it simply unlinks
@@ -503,7 +503,7 @@
* \param namestr The name of the object to remove.
*
* This macro iterates through a container and removes the first object with
- * the specfied name from the container.
+ * the specified name from the container.
*
* \note This macro does not destroy any objects, it simply unlinks
* them. No destructors are called.
@@ -647,8 +647,8 @@
* \param container A pointer to the container to prune.
* \param destructor A destructor function to call on each marked object.
*
- * This macro iterates through the specfied container and prunes any marked
- * objects executing the specfied destructor if necessary.
+ * This macro iterates through the specified container and prunes any marked
+ * objects executing the specified destructor if necessary.
*/
#define ASTOBJ_CONTAINER_PRUNE_MARKED(container,destructor) \
do { \
@@ -797,7 +797,7 @@
* \param obj A pointer to the object to dump.
*
* This macro dumps a text representation of the name, objectflags, and
- * refcount fields of an object to the specfied string buffer.
+ * refcount fields of an object to the specified string buffer.
*/
#define ASTOBJ_DUMP(s,slen,obj) \
snprintf((s),(slen),"name: %s\nobjflags: %u\nrefcount: %u\n\n", (obj)->name, (obj)->objflags, (obj)->refcount);
diff --git a/channels/iax2/include/firmware.h b/channels/iax2/include/firmware.h
index a211c5d..0565f6c 100644
--- a/channels/iax2/include/firmware.h
+++ b/channels/iax2/include/firmware.h
@@ -90,7 +90,7 @@
* \c callback function each time it is invoked.
*
* This function visits each of the elements in the IAX firmware list, calling
- * the specfied \c callback for each element. Iteration continues until the end
+ * the specified \c callback for each element. Iteration continues until the end
* of the list is reached, or the \c callback returns non-zero.
*
* The \c callback function receives a pointer to the firmware header and the
diff --git a/menuselect/README b/menuselect/README
index 3114e08..c617481 100644
--- a/menuselect/README
+++ b/menuselect/README
@@ -118,7 +118,7 @@
be in the output from menuselect.
displayname="Applications"
- If this is specfied, this is what will be shown in the menu to the user.
+ If this is specified, this is what will be shown in the menu to the user.
positive_output="yes"
The default for menuselect is to output all of the members of a category
diff --git a/pbx/pbx_dundi.c b/pbx/pbx_dundi.c
index 2b71916..7dcee8b 100644
--- a/pbx/pbx_dundi.c
+++ b/pbx/pbx_dundi.c
@@ -2630,7 +2630,7 @@
e->command = "dundi show peer";
e->usage =
"Usage: dundi show peer [peer]\n"
- " Provide a detailed description of a specifid DUNDi peer.\n";
+ " Provide a detailed description of a specified DUNDi peer.\n";
return NULL;
case CLI_GENERATE:
return complete_peer_helper(a->line, a->word, a->pos, a->n, 3);
--
To view, visit https://gerrit.asterisk.org/c/asterisk/+/17203
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: I69b38921c9b1e3aa3e53c67638419f45fb20f613
Gerrit-Change-Number: 17203
Gerrit-PatchSet: 1
Gerrit-Owner: Josh Soref <jsoref at gmail.com>
Gerrit-CC: Friendly Automation
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20211107/0a923613/attachment.html>
More information about the asterisk-code-review
mailing list