From 82b6ba976fc679d4079abbe6d4e8ecc17cdc5ce6 Mon Sep 17 00:00:00 2001 From: Corey Farrell Date: Wed, 20 Dec 2017 12:14:54 -0500 Subject: 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 --- main/astmm.c | 2 +- main/db.c | 2 +- main/editline/map.c | 2 +- main/editline/refresh.c | 2 +- main/jitterbuf.c | 2 +- main/named_acl.c | 2 +- main/netsock2.c | 2 +- main/security_events.c | 2 +- main/stdtime/localtime.c | 4 ++-- main/threadpool.c | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) (limited to 'main') 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 @@ The challenge that was received. - + The hash that was received. 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, -- cgit v1.2.3