summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorCorey Farrell <git@cfware.com>2017-12-20 12:14:54 -0500
committerCorey Farrell <git@cfware.com>2017-12-20 12:54:13 -0500
commit82b6ba976fc679d4079abbe6d4e8ecc17cdc5ce6 (patch)
tree68ecc223be13a2afc7364cc26020c77b0e735b54 /res
parent4f45748f52bee763977cd7ff13d24d3d6e3c8de4 (diff)
Fix Common Typo's.
Fix instances of: * Retreive * Recieve * other then * different then * Repeated words ("the the", "an an", "and and", etc). * othterwise, teh ASTERISK-24198 #close Change-Id: I3809a9c113b92fd9d0d9f9bac98e9c66dc8b2d31
Diffstat (limited to 'res')
-rw-r--r--res/ael/pval.c2
-rw-r--r--res/parking/res_parking.h2
-rw-r--r--res/res_config_sqlite3.c2
-rw-r--r--res/res_fax.c4
-rw-r--r--res/res_format_attr_opus.c2
-rw-r--r--res/res_pjsip/pjsip_configuration.c4
-rw-r--r--res/res_pjsip_pubsub.c2
-rw-r--r--res/res_pjsip_session.c4
8 files changed, 11 insertions, 11 deletions
diff --git a/res/ael/pval.c b/res/ael/pval.c
index 07545f659..7c420d1c4 100644
--- a/res/ael/pval.c
+++ b/res/ael/pval.c
@@ -2878,7 +2878,7 @@ void check_pval(pval *item, struct argapp *apps, int in_globals)
3. Does the number of macro args match the definition?
4. Is a macro call missing its & at the front?
5. Application calls-- we could check syntax for existing applications,
- but I need some some sort of universal description bnf for a general
+ but I need some sort of universal description bnf for a general
sort of method for checking arguments, in number, maybe even type, at least.
Don't want to hand code checks for hundreds of applications.
*/
diff --git a/res/parking/res_parking.h b/res/parking/res_parking.h
index b8be0419b..6fbde0921 100644
--- a/res/parking/res_parking.h
+++ b/res/parking/res_parking.h
@@ -135,7 +135,7 @@ struct parking_lot_cfg *parking_lot_cfg_create(const char *cat);
* \param dynamic non-zero if creating a dynamic parking lot with this. Don't replace existing parking lots. Ever.
*
* \retval A reference to the new parking lot
- * \retval NULL if it was not found and could not be be allocated
+ * \retval NULL if it was not found and could not be allocated
*
* \note The parking lot will need to be unreffed if it ever falls out of scope
* \note The parking lot will automatically be added to the parking lot container if needed as part of this process
diff --git a/res/res_config_sqlite3.c b/res/res_config_sqlite3.c
index 56558624f..961d7949b 100644
--- a/res/res_config_sqlite3.c
+++ b/res/res_config_sqlite3.c
@@ -1171,7 +1171,7 @@ static int realtime_sqlite3_require(const char *database, const char *table, va_
struct realtime_sqlite3_db *db;
/* SQLite3 columns are dynamically typed, with type affinity. Built-in functions will
- * return the results as char * anyway. The only field that that cannot contain text
+ * return the results as char * anyway. The only field that cannot contain text
* data is an INTEGER PRIMARY KEY, which must be a 64-bit signed integer. So, for
* the purposes here we really only care whether the column exists and not what its
* type or length is. */
diff --git a/res/res_fax.c b/res/res_fax.c
index 6e4451b67..823d560d9 100644
--- a/res/res_fax.c
+++ b/res/res_fax.c
@@ -365,7 +365,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
'gateway' and state is 'Uninitialized'.</para>
</parameter>
<parameter name="FileName" required="false">
- <para>Filename of the image being sent/recieved for this FAX session. This field is not
+ <para>Filename of the image being sent/received for this FAX session. This field is not
included if Operation isn't 'send' or 'receive'.</para>
</parameter>
<parameter name="PagesTransmitted" required="false">
@@ -377,7 +377,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
Operation is not 'send' or 'receive'. Will be 0 for 'send'.</para>
</parameter>
<parameter name="TotalBadLines" required="false">
- <para>Total number of bad lines sent/recieved during this session. This field is not
+ <para>Total number of bad lines sent/received during this session. This field is not
included if Operation is not 'send' or 'received'.</para>
</parameter>
</syntax>
diff --git a/res/res_format_attr_opus.c b/res/res_format_attr_opus.c
index 857b9435c..9e5fe6673 100644
--- a/res/res_format_attr_opus.c
+++ b/res/res_format_attr_opus.c
@@ -116,7 +116,7 @@ static void sdp_fmtp_get(const char *attributes, const char *name, int *attr)
/* Skip any preceeding blanks as some implementations separate attributes using spaces too */
kvp = ast_skip_blanks(kvp);
- /* If we are at at the requested attribute get its value and return */
+ /* If we are at the requested attribute get its value and return */
if (!strncmp(kvp, name, strlen(name)) && kvp[strlen(name)] == '=') {
if (sscanf(kvp, "%*[^=]=%30d", &val) == 1) {
*attr = val;
diff --git a/res/res_pjsip/pjsip_configuration.c b/res/res_pjsip/pjsip_configuration.c
index 54c6c4929..9aab75b83 100644
--- a/res/res_pjsip/pjsip_configuration.c
+++ b/res/res_pjsip/pjsip_configuration.c
@@ -1565,8 +1565,8 @@ static int ami_show_endpoint(struct mansession *s, const struct message *m)
return 0;
}
- astman_send_listack(s, m, "Following are Events for each object "
- "associated with the the Endpoint", "start");
+ astman_send_listack(s, m, "Following are Events for each object associated with the Endpoint",
+ "start");
/* the endpoint detail needs to always come first so apply as such */
if (format_ami_endpoint(endpoint, &ami) ||
diff --git a/res/res_pjsip_pubsub.c b/res/res_pjsip_pubsub.c
index cb0be6127..e9e832456 100644
--- a/res/res_pjsip_pubsub.c
+++ b/res/res_pjsip_pubsub.c
@@ -895,7 +895,7 @@ static int have_visited(const char *resource, struct resources *visited)
* This iterates through the items on a resource list and creates tree nodes for each one. The
* tree nodes created are children of the supplied parent node. If an item in the resource
* list is itself a list, then this function is called recursively to provide children for
- * the the new node.
+ * the new node.
*
* If an item in a resource list is not a list, then the supplied subscription handler is
* called into as if a new SUBSCRIBE for the list item were presented. The handler's response
diff --git a/res/res_pjsip_session.c b/res/res_pjsip_session.c
index bb53dad09..ae5f19a03 100644
--- a/res/res_pjsip_session.c
+++ b/res/res_pjsip_session.c
@@ -473,7 +473,7 @@ enum delayed_method {
/*!
* \internal
- * \brief Convert delayed method enum value to to a string.
+ * \brief Convert delayed method enum value to a string.
* \since 13.3.0
*
* \param method Delayed method enum value to convert to a string.
@@ -1507,7 +1507,7 @@ static int sip_session_suspend_task(void *data)
suspender->suspended = 1;
ast_cond_signal(&suspender->cond_suspended);
- /* Wait for the the serializer suspension to be completed. */
+ /* Wait for the serializer suspension to be completed. */
while (!suspender->complete) {
ast_cond_wait(&suspender->cond_complete, ao2_object_get_lockaddr(suspender));
}