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
This commit is contained in:
Corey Farrell 2017-12-20 12:14:54 -05:00
parent 4815be9aeb
commit 1b80ffa495
47 changed files with 63 additions and 63 deletions

View File

@ -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;

View File

@ -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.
*

View File

@ -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.
*/

View File

@ -319,7 +319,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;
}

View File

@ -1352,7 +1352,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 */

View File

@ -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>

View File

@ -171,7 +171,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 {
@ -191,7 +191,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 */

View File

@ -1315,7 +1315,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.
@ -4746,7 +4746,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.
*
@ -8168,7 +8168,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
@ -8269,7 +8269,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);

View File

@ -8000,7 +8000,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;

View File

@ -389,7 +389,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;

View File

@ -9286,7 +9286,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)
{
@ -15808,7 +15808,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);
@ -26347,7 +26347,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 */
@ -26435,7 +26435,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;
}
@ -34386,7 +34386,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
*/

View File

@ -4964,7 +4964,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;

View File

@ -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.

View File

@ -223,7 +223,7 @@ struct ast_json;
#elif defined(AST_MODULE_SELF_SYM)
/*! Retreive the 'struct ast_module *' for the current module. */
/*! Retrieve the 'struct ast_module *' for the current module. */
#define AST_MODULE_SELF AST_MODULE_SELF_SYM()
struct ast_module;

View File

@ -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 */

View File

@ -145,7 +145,7 @@ An interface to help debug refcounting is provided
in this package. It is dependent on the refdebug being enabled in
asterisk.conf.
Each of the reference manipulations will generate one line of output in in the refs
Each of the reference manipulations will generate one line of output in the refs
log file. These lines look like this:
...
0x8756f00,+1,1234,chan_sip.c,22240,load_module,**constructor**,allocate users
@ -682,7 +682,7 @@ int ao2_weakproxy_unsubscribe(void *weakproxy, ao2_weakproxy_notification_cb cb,
* \since 14.0.0
* \brief Get the weakproxy attached to obj
*
* \param obj The object to retreive a weakproxy from
* \param obj The object to retrieve a weakproxy from
*
* \return The weakproxy object
*/
@ -1057,7 +1057,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),
/*!

View File

@ -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,

View File

@ -721,7 +721,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);

View File

@ -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

View File

@ -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
*/

View File

@ -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

View File

@ -1108,7 +1108,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
*

View File

@ -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.

View File

@ -1455,7 +1455,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);

View File

@ -866,7 +866,7 @@ int __ao2_weakproxy_set_object(void *weakproxy, void *obj, int flags,
ao2_unlock(weakproxy);
/* It is possible for obj to be accessed now. It's allowed
* for weakproxy to already be in a container. Another thread
* could have been waiting for a lock on weakproxy to retreive
* could have been waiting for a lock on weakproxy to retrieve
* the object.
*/
}

View File

@ -129,7 +129,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.
*

View File

@ -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 */

View File

@ -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)

View File

@ -356,7 +356,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
*/

View File

@ -401,7 +401,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;
}

View File

@ -607,7 +607,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) {

View File

@ -431,7 +431,7 @@ static struct sdp_state_capabilities *sdp_initialize_state_capabilities(const st
* are merged with the answer SDP to create the negotiated capabilities.
*
* If we are the SDP answerer, then the incoming offer SDP is merged with our
* proposed capabilities to to create the negotiated capabilities. These negotiated
* proposed capabilities to create the negotiated capabilities. These negotiated
* capabilities are what we send in our answer SDP.
*
* Any changes that a user of the API performs will occur on the proposed capabilities.

View File

@ -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>

View File

@ -1055,7 +1055,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);
@ -1775,7 +1775,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.

View File

@ -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,

View File

@ -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. */

View File

@ -2877,7 +2877,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.
*/

View File

@ -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

View File

@ -1180,7 +1180,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. */

View File

@ -363,7 +363,7 @@
'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">
@ -375,7 +375,7 @@
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>

View File

@ -115,7 +115,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;

View File

@ -1603,7 +1603,7 @@ 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",
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 */

View File

@ -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

View File

@ -1067,7 +1067,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.
@ -2241,7 +2241,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));
}

View File

@ -858,7 +858,7 @@ AST_MUTEX_DEFINE_STATIC(dial_bridge_lock);
* they are finished with it.
*
* \retval NULL Unable to find/create the dial bridge
* \retval non-NULL A reference to teh dial bridge
* \retval non-NULL A reference to the dial bridge
*/
static struct ast_bridge *get_dial_bridge(void)
{

View File

@ -357,7 +357,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")) ||

View File

@ -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");