diff options
author | Corey Farrell <git@cfware.com> | 2017-12-20 12:14:54 -0500 |
---|---|---|
committer | Corey Farrell <git@cfware.com> | 2017-12-20 12:40:01 -0500 |
commit | 1b80ffa495160c8b4ded31fa0597ec578f908d97 (patch) | |
tree | 0f7449db5166a719811f9ca26b2bd0a317cc0f37 /main | |
parent | 4815be9aeb17afd650af184a272d73b63ff98774 (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 'main')
-rw-r--r-- | main/astmm.c | 2 | ||||
-rw-r--r-- | main/astobj2.c | 2 | ||||
-rw-r--r-- | main/db.c | 2 | ||||
-rw-r--r-- | main/editline/map.c | 2 | ||||
-rw-r--r-- | main/editline/refresh.c | 2 | ||||
-rw-r--r-- | main/jitterbuf.c | 2 | ||||
-rw-r--r-- | main/named_acl.c | 2 | ||||
-rw-r--r-- | main/netsock2.c | 2 | ||||
-rw-r--r-- | main/sdp_state.c | 2 | ||||
-rw-r--r-- | main/security_events.c | 2 | ||||
-rw-r--r-- | main/stdtime/localtime.c | 4 | ||||
-rw-r--r-- | main/threadpool.c | 2 |
12 files changed, 13 insertions, 13 deletions
diff --git a/main/astmm.c b/main/astmm.c index 9c26f0fa7..accd2ffcf 100644 --- a/main/astmm.c +++ b/main/astmm.c @@ -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); diff --git a/main/astobj2.c b/main/astobj2.c index da2d44e51..63058e19e 100644 --- a/main/astobj2.c +++ b/main/astobj2.c @@ -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. */ } @@ -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. * 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 a4d1971dd..8ab68f41e 100644 --- a/main/jitterbuf.c +++ b/main/jitterbuf.c @@ -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 */ diff --git a/main/named_acl.c b/main/named_acl.c index 393532a53..0e0385bee 100644 --- a/main/named_acl.c +++ b/main/named_acl.c @@ -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; } diff --git a/main/netsock2.c b/main/netsock2.c index 53a43e041..ef74ab92b 100644 --- a/main/netsock2.c +++ b/main/netsock2.c @@ -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) { diff --git a/main/sdp_state.c b/main/sdp_state.c index 2b75cc2a1..881f53bb3 100644 --- a/main/sdp_state.c +++ b/main/sdp_state.c @@ -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. diff --git a/main/security_events.c b/main/security_events.c index adcda3d5d..97aa04fa8 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 eac199a11..fd33d9f9d 100644 --- a/main/stdtime/localtime.c +++ b/main/stdtime/localtime.c @@ -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. 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, |