summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins2 <jenkins2@gerrit.asterisk.org>2017-12-21 08:34:30 -0600
committerGerrit Code Review <gerrit2@gerrit.digium.api>2017-12-21 08:34:31 -0600
commitd85290ca48c3d95cbf464967b83f06c118dc0010 (patch)
treecb87cbc560d5cff37544754a7becc71239ff5223
parente94962ce63c4987f9bf36c6380473d2944b10251 (diff)
parent82b6ba976fc679d4079abbe6d4e8ecc17cdc5ce6 (diff)
Merge "Fix Common Typo's." into 13
-rw-r--r--addons/ooh323c/src/ooLogChan.c2
-rw-r--r--addons/ooh323c/src/ooasn1.h6
-rw-r--r--addons/ooh323c/src/ooh323.h2
-rw-r--r--apps/app_adsiprog.c2
-rw-r--r--apps/app_minivm.c2
-rw-r--r--apps/app_saycounted.c2
-rw-r--r--apps/app_skel.c4
-rw-r--r--apps/app_voicemail.c8
-rw-r--r--channels/chan_dahdi.c2
-rw-r--r--channels/chan_mgcp.c2
-rw-r--r--channels/chan_sip.c10
-rw-r--r--channels/chan_unistim.c2
-rw-r--r--channels/sip/include/reqresp_parser.h2
-rw-r--r--include/asterisk/ast_version.h2
-rw-r--r--include/asterisk/astobj2.h4
-rw-r--r--include/asterisk/bridge_after.h2
-rw-r--r--include/asterisk/bridge_features.h2
-rw-r--r--include/asterisk/callerid.h2
-rw-r--r--include/asterisk/http.h2
-rw-r--r--include/asterisk/parking.h4
-rw-r--r--include/asterisk/pbx.h2
-rw-r--r--include/asterisk/strings.h2
-rw-r--r--main/astmm.c2
-rw-r--r--main/db.c2
-rw-r--r--main/editline/map.c2
-rw-r--r--main/editline/refresh.c2
-rw-r--r--main/jitterbuf.c2
-rw-r--r--main/named_acl.c2
-rw-r--r--main/netsock2.c2
-rw-r--r--main/security_events.c2
-rw-r--r--main/stdtime/localtime.c4
-rw-r--r--main/threadpool.c2
-rw-r--r--menuselect/menuselect_gtk.c2
-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
-rw-r--r--tests/test_aoc.c2
-rw-r--r--tests/test_taskprocessor.c2
43 files changed, 59 insertions, 59 deletions
diff --git a/addons/ooh323c/src/ooLogChan.c b/addons/ooh323c/src/ooLogChan.c
index bafb315e6..004861cc9 100644
--- a/addons/ooh323c/src/ooLogChan.c
+++ b/addons/ooh323c/src/ooLogChan.c
@@ -290,7 +290,7 @@ int ooClearAllLogicalChannels(OOH323CallData *call)
prev = temp;
temp = temp->next;
ooClearLogicalChannel(call, prev->channelNo);/* TODO: efficiency - This causes re-search
- of of logical channel in the list. Can be
+ of logical channel in the list. Can be
easily improved.*/
}
call->logicalChans = NULL;
diff --git a/addons/ooh323c/src/ooasn1.h b/addons/ooh323c/src/ooasn1.h
index e7b585eb1..e75ff6d63 100644
--- a/addons/ooh323c/src/ooasn1.h
+++ b/addons/ooh323c/src/ooasn1.h
@@ -719,8 +719,8 @@ EXTERN int errCopyData (ASN1ErrInfo* pSrcErrInfo,
* associated with an error message. These parameters are maintained on an
* internal linked list maintained within the error information structure. The
* list memory must be freed when error processing is complete. This function
- * is called from within errPrint after teh error has been printed out. It is
- * also called in teh freeContext function.
+ * is called from within errPrint after the error has been printed out. It is
+ * also called in the freeContext function.
*
* @param pErrInfo A pointer to a structure containing information on the
* error to be printed. Typically, the error info
@@ -1737,7 +1737,7 @@ EXTERN int encodeOpenTypeExtBits
/**
* This function will endcode a small, non-negative whole number as specified
- * in Section 10.6 of teh X.691 standard. This is a number that is expected to
+ * in Section 10.6 of the X.691 standard. This is a number that is expected to
* be small, but whose size is potentially unlimited due to the presence of an
* extension marker.
*
diff --git a/addons/ooh323c/src/ooh323.h b/addons/ooh323c/src/ooh323.h
index 6b7edc21f..96b54f5f0 100644
--- a/addons/ooh323c/src/ooh323.h
+++ b/addons/ooh323c/src/ooh323.h
@@ -81,7 +81,7 @@ EXTERN int ooHandleH2250Message
/**
* This function is used to process a received Facility message.
* @param call Handle to the call for which message has been received.
- * @param pQ931Msg Pointer the the received Facility message.
+ * @param pQ931Msg Pointer the received Facility message.
*
* @return OO_OK, on success. OO_FAILED, on failure.
*/
diff --git a/apps/app_adsiprog.c b/apps/app_adsiprog.c
index 640f553a4..918b5ee53 100644
--- a/apps/app_adsiprog.c
+++ b/apps/app_adsiprog.c
@@ -321,7 +321,7 @@ static int goto_line(char *buf, char *name, int id, char *args, struct adsi_scri
else if (!strcasecmp(page, "COMM"))
cmd = 0x80;
else {
- ast_log(LOG_WARNING, "Expecting either 'INFO' or 'COMM' page, got got '%s' at line %d of %s\n", page, lineno, script);
+ ast_log(LOG_WARNING, "Expecting either 'INFO' or 'COMM' page, got '%s' at line %d of %s\n", page, lineno, script);
return 0;
}
diff --git a/apps/app_minivm.c b/apps/app_minivm.c
index dcf0ee2fa..c863f6360 100644
--- a/apps/app_minivm.c
+++ b/apps/app_minivm.c
@@ -1354,7 +1354,7 @@ static int sendmail(struct minivm_template *template, struct minivm_account *vmu
prep_email_sub_vars(chan, vmu, cidnum, cidname, dur, date, counter);
/* Find email address to use */
- /* If there's a server e-mail address in the account, use that, othterwise template */
+ /* If there's a server e-mail address in the account, use that, otherwise template */
fromemail = ast_strlen_zero(vmu->serveremail) ? template->serveremail : vmu->serveremail;
/* Find name to user for server e-mail */
diff --git a/apps/app_saycounted.c b/apps/app_saycounted.c
index 4eddc08e5..f51fccbb5 100644
--- a/apps/app_saycounted.c
+++ b/apps/app_saycounted.c
@@ -39,7 +39,7 @@
<para>The number of things</para>
</parameter>
<parameter name="filename" required="true">
- <para>File name stem for the noun that is the the name of the things</para>
+ <para>File name stem for the noun that is the name of the things</para>
</parameter>
</syntax>
<description>
diff --git a/apps/app_skel.c b/apps/app_skel.c
index 20e6abfcc..e21bcc57b 100644
--- a/apps/app_skel.c
+++ b/apps/app_skel.c
@@ -173,7 +173,7 @@ struct skel_level_state {
};
/*! \brief Object to hold level config information.
- * \note This object should hold a reference to an an object that holds state across reloads.
+ * \note This object should hold a reference to an object that holds state across reloads.
* The other fields are just examples of the kind of data that might be stored in an level.
*/
struct skel_level {
@@ -193,7 +193,7 @@ struct skel_level {
* the running game.
*/
struct skel_current_game {
- uint32_t total_games; /*! The total number of games for this call to to the app */
+ uint32_t total_games; /*! The total number of games for this call to the app */
uint32_t games_left; /*! How many games are left to play in this set */
uint32_t cheat; /*! Whether or not cheating was enabled for the game */
struct skel_level *level_info; /*! The level information for the running game */
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 4a0dacc05..229c00d9e 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -1298,7 +1298,7 @@ static void populate_defaults(struct ast_vm_user *vmu)
}
/*!
- * \brief Sets a a specific property value.
+ * \brief Sets a specific property value.
* \param vmu The voicemail user object to work with.
* \param var The name of the property to be set.
* \param value The value to be set to the property.
@@ -4729,7 +4729,7 @@ static void copy_plain_file(char *frompath, char *topath)
/*!
* \brief Removes the voicemail sound and information file.
- * \param file The path to the sound file. This will be the the folder and message index, without the extension.
+ * \param file The path to the sound file. This will be the folder and message index, without the extension.
*
* This is used by the DELETE macro when voicemails are stored on the file system.
*
@@ -8151,7 +8151,7 @@ static int notify_new_message(struct ast_channel *chan, struct ast_vm_user *vmu,
*
* When in the leave message mode (is_new_message == 1):
* - allow the leaving of a message for ourselves. (Will not allow us to forward a message to ourselves, when is_new_message == 0).
- * - attempt to determine the context and and mailbox, and then invoke leave_message() function to record and store the message.
+ * - attempt to determine the context and mailbox, and then invoke leave_message() function to record and store the message.
*
* When in the forward message mode (is_new_message == 0):
* - retrieves the current message to be forwarded
@@ -8252,7 +8252,7 @@ static int forward_message(struct ast_channel *chan, char *context, struct vm_st
old_exten = ast_strdupa(ast_channel_exten(chan));
old_priority = ast_channel_priority(chan);
- /* call the the Directory, changes the channel */
+ /* call the Directory, changes the channel */
snprintf(vmcontext, sizeof(vmcontext), "%s,,v", context ? context : "default");
res = pbx_exec(chan, directory_app, vmcontext);
diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c
index ba7072b2c..d5e79ffcf 100644
--- a/channels/chan_dahdi.c
+++ b/channels/chan_dahdi.c
@@ -8077,7 +8077,7 @@ static struct ast_frame *dahdi_handle_event(struct ast_channel *ast)
p->subs[otherindex].needunhold = 1;
p->owner = p->subs[SUB_REAL].owner;
} else {
- ast_verb(3, "Dumping incomplete call on on %s\n", ast_channel_name(p->subs[SUB_THREEWAY].owner));
+ ast_verb(3, "Dumping incomplete call on %s\n", ast_channel_name(p->subs[SUB_THREEWAY].owner));
swap_subs(p, SUB_THREEWAY, SUB_REAL);
ast_channel_softhangup_internal_flag_add(p->subs[SUB_THREEWAY].owner, AST_SOFTHANGUP_DEV);
p->owner = p->subs[SUB_REAL].owner;
diff --git a/channels/chan_mgcp.c b/channels/chan_mgcp.c
index f3fe538a0..e8c2293cf 100644
--- a/channels/chan_mgcp.c
+++ b/channels/chan_mgcp.c
@@ -392,7 +392,7 @@ struct mgcp_endpoint {
/* struct ast_channel *owner; */
/* struct ast_rtp *rtp; */
/* struct sockaddr_in tmpdest; */
- /* message go the the endpoint and not the channel so they stay here */
+ /* message go the endpoint and not the channel so they stay here */
struct ast_variable *chanvars; /*!< Variables to set for channel created by user */
struct mgcp_endpoint *next;
struct mgcp_gateway *parent;
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index e6e82db46..3ff84153d 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -9239,7 +9239,7 @@ static enum match_req_res match_req_to_dialog(struct sip_pvt *sip_pvt_ptr, struc
}
/*! \brief This function creates a dialog to handle a forked request. This dialog
- * exists only to properly terminiate the the forked request immediately.
+ * exists only to properly terminiate the forked request immediately.
*/
static void forked_invite_init(struct sip_request *req, const char *new_theirtag, struct sip_pvt *original, struct ast_sockaddr *addr)
{
@@ -15710,7 +15710,7 @@ static int sip_reregister(const void *data)
if (r->call && r->call->do_history) {
append_history(r->call, "RegistryRenew", "Account: %s@%s", r->username, r->hostname);
}
- /* Since registry's are only added/removed by the the monitor thread, this
+ /* Since registry's are only added/removed by the monitor thread, this
may be overkill to reference/dereference at all here */
if (sipdebug) {
ast_log(LOG_NOTICE, " -- Re-registration for %s@%s\n", r->username, r->hostname);
@@ -26098,7 +26098,7 @@ static int handle_request_invite(struct sip_pvt *p, struct sip_request *req, str
if (p->owner) {
ast_debug(3, "INVITE w Replaces on existing call? Refusing action. [%s]\n", p->callid);
- transmit_response_reliable(p, "400 Bad request", req); /* The best way to not not accept the transfer */
+ transmit_response_reliable(p, "400 Bad request", req); /* The best way to not accept the transfer */
check_via(p, req);
copy_request(&p->initreq, req);
/* Do not destroy existing call */
@@ -26186,7 +26186,7 @@ static int handle_request_invite(struct sip_pvt *p, struct sip_request *req, str
if (replaces_pvt == p) {
ast_log(LOG_NOTICE, "INVITE with replaces into it's own call id (%s == %s)!\n", replace_id, p->callid);
- transmit_response_reliable(p, "400 Bad request", req); /* The best way to not not accept the transfer */
+ transmit_response_reliable(p, "400 Bad request", req); /* The best way to not accept the transfer */
error = 1;
}
@@ -34086,7 +34086,7 @@ static int peer_cmp_cb(void *obj, void *arg, int flags)
}
/*!
- * Hash function based on the the peer's ip address. For IPv6, we use the end
+ * Hash function based on the peer's ip address. For IPv6, we use the end
* of the address.
* \todo Find a better hashing function
*/
diff --git a/channels/chan_unistim.c b/channels/chan_unistim.c
index c3baa8acb..574de9285 100644
--- a/channels/chan_unistim.c
+++ b/channels/chan_unistim.c
@@ -4965,7 +4965,7 @@ static int unistim_hangup(struct ast_channel *ast)
continue;
}
if (d->ssub[i] != sub) {
- if (d->ssub[i] != NULL) { /* Found other subchannel active other then hangup'ed one */
+ if (d->ssub[i] != NULL) { /* Found other subchannel active other than hangup'ed one */
end_call = 0;
}
continue;
diff --git a/channels/sip/include/reqresp_parser.h b/channels/sip/include/reqresp_parser.h
index 2543329dd..eb2eb1eb7 100644
--- a/channels/sip/include/reqresp_parser.h
+++ b/channels/sip/include/reqresp_parser.h
@@ -59,7 +59,7 @@ AST_LIST_HEAD_NOLOCK(contactliststruct, contact);
* parts, user:secret.
* - If the URI contains a port number, hostport will return with both
* parts, host:port.
- * - This function overwrites the the URI string.
+ * - This function overwrites the URI string.
*
* \retval 0 on success
* \retval -1 on error.
diff --git a/include/asterisk/ast_version.h b/include/asterisk/ast_version.h
index 1ceac30fe..ff9c42f74 100644
--- a/include/asterisk/ast_version.h
+++ b/include/asterisk/ast_version.h
@@ -41,7 +41,7 @@ const char *ast_get_version(void);
*/
const char *ast_get_version_num(void);
-/*! Retreive the Asterisk build options */
+/*! Retrieve the Asterisk build options */
const char *ast_get_build_opts(void);
#endif /* __AST_VERSION_H */
diff --git a/include/asterisk/astobj2.h b/include/asterisk/astobj2.h
index 390e0ea1b..53f10cc0f 100644
--- a/include/asterisk/astobj2.h
+++ b/include/asterisk/astobj2.h
@@ -164,7 +164,7 @@ each case is supposed to be a string pointer, a "tag", that should contain
enough of an explanation, that you can pair operations that increment the
ref count, with operations that are meant to decrement the refcount.
-Each of these calls will generate at least one line of output in in the refs
+Each of these calls will generate at least one line of output in the refs
log files. These lines look like this:
...
0x8756f00,+1,1234,chan_sip.c,22240,load_module,**constructor**,allocate users
@@ -977,7 +977,7 @@ enum search_flags {
OBJ_NODATA = (1 << 1),
/*!
* Don't stop at the first match in ao2_callback() unless the
- * result of of the callback function has the CMP_STOP bit set.
+ * result of the callback function has the CMP_STOP bit set.
*/
OBJ_MULTIPLE = (1 << 2),
/*!
diff --git a/include/asterisk/bridge_after.h b/include/asterisk/bridge_after.h
index 045168571..d4fcbeaf6 100644
--- a/include/asterisk/bridge_after.h
+++ b/include/asterisk/bridge_after.h
@@ -33,7 +33,7 @@
extern "C" {
#endif
-/*! Reason the the after bridge callback will not be called. */
+/*! Reason the after bridge callback will not be called. */
enum ast_bridge_after_cb_reason {
/*! The datastore is being destroyed. Likely due to hangup. (Enum value must be zero.) */
AST_BRIDGE_AFTER_CB_REASON_DESTROY,
diff --git a/include/asterisk/bridge_features.h b/include/asterisk/bridge_features.h
index df01a0dca..38b478e7a 100644
--- a/include/asterisk/bridge_features.h
+++ b/include/asterisk/bridge_features.h
@@ -719,7 +719,7 @@ int ast_bridge_features_limits_construct(struct ast_bridge_features_limits *limi
* \param limits pointer to an ast_bridge_features_limits struct that needs to be destroyed
*
* This function does not free memory allocated to the ast_bridge_features_limits struct, it only frees elements within the struct.
- * You must still call ast_free on the the struct if you allocated it with malloc.
+ * You must still call ast_free on the struct if you allocated it with malloc.
*/
void ast_bridge_features_limits_destroy(struct ast_bridge_features_limits *limits);
diff --git a/include/asterisk/callerid.h b/include/asterisk/callerid.h
index f7d7719d2..143ffae23 100644
--- a/include/asterisk/callerid.h
+++ b/include/asterisk/callerid.h
@@ -240,7 +240,7 @@ void ast_shrink_phone_number(char *n);
int ast_isphonenumber(const char *n);
/*!
- * \brief Check if a string consists only of digits and and + \# ( ) - .
+ * \brief Check if a string consists only of digits and + \# ( ) - .
* (meaning it can be cleaned with ast_shrink_phone_number)
* \param exten The extension (or URI) to be checked.
* \retval 1 if string is valid AST shrinkable phone number
diff --git a/include/asterisk/http.h b/include/asterisk/http.h
index d5f54cc65..63fb223bf 100644
--- a/include/asterisk/http.h
+++ b/include/asterisk/http.h
@@ -316,7 +316,7 @@ int ast_http_response_status_line(const char *buf, const char *version, int code
* \param name out parameter pointing to the header name
* \param value out parameter pointing to header value
* \return -1 if buf is empty
- * \return 0 if buf could be separated into into name and value
+ * \return 0 if buf could be separated into name and value
* \return 1 if name or value portion don't exist
* \since 13
*/
diff --git a/include/asterisk/parking.h b/include/asterisk/parking.h
index 1cf750c08..afe12c914 100644
--- a/include/asterisk/parking.h
+++ b/include/asterisk/parking.h
@@ -164,7 +164,7 @@ struct ast_parking_bridge_feature_fn_table {
* \param parker The \ref bridge_channel object that is initiating the parking
* \param context The context to blind transfer to
* \param exten The extension to blind transfer to
- * \param parked_channel_cb Execute the following function on the the channel that gets parked
+ * \param parked_channel_cb Execute the following function on the channel that gets parked
* \param parked_channel_data Data for the parked_channel_cb
*
* \note If the bridge \ref parker is in has more than one other occupant, the entire
@@ -236,7 +236,7 @@ int ast_parking_park_call(struct ast_bridge_channel *parker, char *exten, size_t
* \param context The context to blind transfer to
* \param exten The extension to blind transfer to
* \param exten The extension to blind transfer to
- * \param parked_channel_cb Execute the following function on the the channel that gets parked
+ * \param parked_channel_cb Execute the following function on the channel that gets parked
* \param parked_channel_data Data for the parked_channel_cb
*
* \note If the bridge \ref parker is in has more than one other occupant, the entire
diff --git a/include/asterisk/pbx.h b/include/asterisk/pbx.h
index 770a1a984..b88a3f67b 100644
--- a/include/asterisk/pbx.h
+++ b/include/asterisk/pbx.h
@@ -1094,7 +1094,7 @@ int ast_rdlock_context(struct ast_context *con);
int ast_unlock_context(struct ast_context *con);
/*!
- * \brief locks the macrolock in the given given context
+ * \brief locks the macrolock in the given context
*
* \param macrocontext name of the macro-context to lock
*
diff --git a/include/asterisk/strings.h b/include/asterisk/strings.h
index 963519dc7..d93630af3 100644
--- a/include/asterisk/strings.h
+++ b/include/asterisk/strings.h
@@ -256,7 +256,7 @@ enum ast_strsep_flags {
/*!
\brief Act like strsep but ignore separators inside quotes.
- \param s Pointer to address of the the string to be processed.
+ \param s Pointer to address of the string to be processed.
Will be modified and can't be constant.
\param sep A single character delimiter.
\param flags Controls post-processing of the result.
diff --git a/main/astmm.c b/main/astmm.c
index d53323aba..59baa4221 100644
--- a/main/astmm.c
+++ b/main/astmm.c
@@ -1466,7 +1466,7 @@ static void mm_atexit_dump(void)
/*
* Put the alloced list back into regions[].
*
- * We have do do this because we can get called before all other
+ * We have do this because we can get called before all other
* threads have terminated.
*/
mm_atexit_hash_restore(&alloced_atexit);
diff --git a/main/db.c b/main/db.c
index 1edbcacbf..da533a4ec 100644
--- a/main/db.c
+++ b/main/db.c
@@ -131,7 +131,7 @@ DEFINE_SQL_STATEMENT(create_astdb_stmt, "CREATE TABLE IF NOT EXISTS astdb(key VA
/* This query begs an explanation:
*
- * First, the parameter binding syntax used here is slightly different then the other
+ * First, the parameter binding syntax used here is slightly different than the other
* queries in that we use a numbered parameter so that we can bind once and get the same
* value substituted multiple times within the executed query.
*
diff --git a/main/editline/map.c b/main/editline/map.c
index 4187cb597..448c3c0ca 100644
--- a/main/editline/map.c
+++ b/main/editline/map.c
@@ -369,7 +369,7 @@ private const el_action_t el_map_vi_insert[] = {
* NOTE: These mappings do NOT Correspond well
* to the KSH VI editing assignments.
* On the other and they are convenient and
- * many people have have gotten used to them.
+ * many people have gotten used to them.
*/
/* 0 */ ED_UNASSIGNED, /* ^@ */
/* 1 */ ED_MOVE_TO_BEG, /* ^A */
diff --git a/main/editline/refresh.c b/main/editline/refresh.c
index fcebe1253..1acc261a7 100644
--- a/main/editline/refresh.c
+++ b/main/editline/refresh.c
@@ -1064,7 +1064,7 @@ re_fastaddc(EditLine *el)
/* re_clear_display():
- * clear the screen buffers so that new new prompt starts fresh.
+ * clear the screen buffers so that new prompt starts fresh.
*/
protected void
re_clear_display(EditLine *el)
diff --git a/main/jitterbuf.c b/main/jitterbuf.c
index df3164f39..21c11043b 100644
--- a/main/jitterbuf.c
+++ b/main/jitterbuf.c
@@ -358,7 +358,7 @@ static int queue_put(jitterbuf *jb, void *data, const enum jb_frame_type type, l
frame->type = type;
/*
- * frames are a circular list, jb-frames points to to the lowest ts,
+ * frames are a circular list, jb-frames points to the lowest ts,
* jb->frames->prev points to the highest ts
*/
diff --git a/main/named_acl.c b/main/named_acl.c
index 47787e921..458d4d397 100644
--- a/main/named_acl.c
+++ b/main/named_acl.c
@@ -403,7 +403,7 @@ static int publish_acl_change(const char *name)
return 0;
publish_failure:
- ast_log(LOG_ERROR, "Failed to to issue ACL change message for %s.\n",
+ ast_log(LOG_ERROR, "Failed to issue ACL change message for %s.\n",
ast_strlen_zero(name) ? "all named ACLs" : name);
return -1;
}
diff --git a/main/netsock2.c b/main/netsock2.c
index 73595fe84..5f94a750a 100644
--- a/main/netsock2.c
+++ b/main/netsock2.c
@@ -609,7 +609,7 @@ int ast_set_qos(int sockfd, int tos, int cos, const char *desc)
/* If the sock address is IPv6, the TCLASS field must be set. */
set_tclass = !ast_getsockname(sockfd, &addr) && ast_sockaddr_is_ipv6(&addr) ? 1 : 0;
- /* If the the sock address is IPv4 or (IPv6 set to any address [::]) set TOS bits */
+ /* If the sock address is IPv4 or (IPv6 set to any address [::]) set TOS bits */
set_tos = (!set_tclass || (set_tclass && ast_sockaddr_is_any(&addr))) ? 1 : 0;
if (set_tos) {
diff --git a/main/security_events.c b/main/security_events.c
index d549d6201..24b2b6a0b 100644
--- a/main/security_events.c
+++ b/main/security_events.c
@@ -314,7 +314,7 @@
<parameter name="ReceivedChallenge" required="false">
<para>The challenge that was received.</para>
</parameter>
- <parameter name="RecievedHash" required="false">
+ <parameter name="ReceivedHash" required="false">
<para>The hash that was received.</para>
</parameter>
</syntax>
diff --git a/main/stdtime/localtime.c b/main/stdtime/localtime.c
index 64840e826..1b9345449 100644
--- a/main/stdtime/localtime.c
+++ b/main/stdtime/localtime.c
@@ -1057,7 +1057,7 @@ static int tzload(const char *name, struct state * const sp, const int doextend)
int result;
/* for temporary struct state --
- * macro flags the the struct as a stack temp.
+ * macro flags the struct as a stack temp.
* to prevent use within add_notify()
*/
SP_STACK_INIT(ts);
@@ -1777,7 +1777,7 @@ void ast_get_dst_info(const time_t * const timep, int *dst_enabled, time_t *dst_
return;
/* If the desired time exceeds the bounds of the defined time transitions
- * then give give up on determining DST info and simply look for gmt offset
+ * then give up on determining DST info and simply look for gmt offset
* This requires that I adjust the given time using increments of Gregorian
* repeats to place the time within the defined time transitions in the
* timezone structure.
diff --git a/main/threadpool.c b/main/threadpool.c
index 6240b7329..874b2d812 100644
--- a/main/threadpool.c
+++ b/main/threadpool.c
@@ -702,7 +702,7 @@ static int kill_threads(void *obj, void *arg, int flags)
/*!
* \brief ao2 callback to zombify a set number of threads.
*
- * Threads will be zombified as long as as the counter has not reached
+ * Threads will be zombified as long as the counter has not reached
* zero. The counter is decremented with each thread that is zombified.
*
* Zombifying a thread involves removing it from its current container,
diff --git a/menuselect/menuselect_gtk.c b/menuselect/menuselect_gtk.c
index 9379d7de6..fcf755e61 100644
--- a/menuselect/menuselect_gtk.c
+++ b/menuselect/menuselect_gtk.c
@@ -208,7 +208,7 @@ static GtkWidget *get_menubar_menu(GtkWidget *window)
/* This function generates the menu items. Pass the item factory,
the number of items in the array, the array itself, and any
- callback data for the the menu items. */
+ callback data for the menu items. */
gtk_item_factory_create_items(item_factory, nmenu_items, menu_items, NULL);
/* Attach the new accelerator group to the window. */
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));
}
diff --git a/tests/test_aoc.c b/tests/test_aoc.c
index 35387df90..119706404 100644
--- a/tests/test_aoc.c
+++ b/tests/test_aoc.c
@@ -359,7 +359,7 @@ AST_TEST_DEFINE(aoc_encode_decode_test)
goto cleanup_aoc_test;
}
- /* Set a currency name larger than 10 characters which is the the maximum
+ /* Set a currency name larger than 10 characters which is the maximum
* length allowed by the ETSI aoc standard. The name is expected to truncate
* to 10 characters. */
if ((ast_aoc_set_currency_info(decoded, 100, AST_AOC_MULT_ONE, "12345678901234567890")) ||
diff --git a/tests/test_taskprocessor.c b/tests/test_taskprocessor.c
index ad2074cb8..273e045d5 100644
--- a/tests/test_taskprocessor.c
+++ b/tests/test_taskprocessor.c
@@ -652,7 +652,7 @@ AST_TEST_DEFINE(taskprocessor_shutdown)
/* Wait for shutdown to complete */
pthread_join(shutdown_thread, NULL);
- /* Should have also also completed task2 */
+ /* Should have also completed task2 */
wait_res = shutdown_has_completed(task2);
if (!wait_res) {
ast_test_status_update(test, "Task2 didn't finish\n");