]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Fix Common Typo's.
authorCorey Farrell <git@cfware.com>
Wed, 20 Dec 2017 17:14:54 +0000 (12:14 -0500)
committerCorey Farrell <git@cfware.com>
Wed, 20 Dec 2017 17:40:01 +0000 (12:40 -0500)
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

47 files changed:
addons/ooh323c/src/ooLogChan.c
addons/ooh323c/src/ooasn1.h
addons/ooh323c/src/ooh323.h
apps/app_adsiprog.c
apps/app_minivm.c
apps/app_saycounted.c
apps/app_skel.c
apps/app_voicemail.c
channels/chan_dahdi.c
channels/chan_mgcp.c
channels/chan_sip.c
channels/chan_unistim.c
channels/sip/include/reqresp_parser.h
include/asterisk.h
include/asterisk/ast_version.h
include/asterisk/astobj2.h
include/asterisk/bridge_after.h
include/asterisk/bridge_features.h
include/asterisk/callerid.h
include/asterisk/http.h
include/asterisk/parking.h
include/asterisk/pbx.h
include/asterisk/strings.h
main/astmm.c
main/astobj2.c
main/db.c
main/editline/map.c
main/editline/refresh.c
main/jitterbuf.c
main/named_acl.c
main/netsock2.c
main/sdp_state.c
main/security_events.c
main/stdtime/localtime.c
main/threadpool.c
menuselect/menuselect_gtk.c
res/ael/pval.c
res/parking/res_parking.h
res/res_config_sqlite3.c
res/res_fax.c
res/res_format_attr_opus.c
res/res_pjsip/pjsip_configuration.c
res/res_pjsip_pubsub.c
res/res_pjsip_session.c
res/stasis/control.c
tests/test_aoc.c
tests/test_taskprocessor.c

index bafb315e69210cee17c3591b96ea3b207af43234..004861cc92aa7c56ff9fdf402b617e6981be3fb3 100644 (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;
index e7b585eb1ec2329ed36ddb2d4432f4d072e1a382..e75ff6d63f1074c4a97c64c0a49915db0ed4612b 100644 (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.
  *
index 6b7edc21fb57c0afaaac5f25ed09058820d46ff6..96b54f5f06791816541c1ce2f7dba87ff800925a 100644 (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.
  */
index 6d485d6fb7a3f2b8fe935bbc157a99e408bc5f55..04aadb35532fa3ed3ff97159cd9ee040dbd0c065 100644 (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;
        }
 
index 8f920e09f3e13cd7e40980c80f2009c3bdfd193b..159584e0bdfecffbe01afda107ea1e8534f88f7c 100644 (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 */
index b44c1f6fed2f465a3602266fbfc8bb58bd2293f4..195a50a0624e840b9fe2669a0fde89e2a0b21515 100644 (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>
index 68f313feed0052d5dae61f3ef17135ad0715d467..e85598a5fa67dbbda3ac2868d39ef865ee50737b 100644 (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 */
index af2174ba97d116103aad11ab0048d8abe5746dd8..90958846c254f1ef2936c6d2ac307fac6162a122 100644 (file)
@@ -1315,7 +1315,7 @@ static void populate_defaults(struct ast_vm_user *vmu)
 }
 
 /*!
- * \brief Sets 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);
 
index b20a0f33accf853529bc05ca3c80bda0677877e4..4859d1a60cf6be16eff156d8c2d47b2f3f5fd651 100644 (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;
index 6cac4bc8acb8c254c73d8e3d77abd41625c1a213..547226c80edbd5df9fbeb7784294dfe228ee25bc 100644 (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;
index 894bbf8a68dd3a5be2745e5cf19643a516ec4d55..ed94948a407b26530c2ad68f7aaa203a32d53b8c 100644 (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
  */
index f124c0f2bc5a36b4c7e75737f8bdb8b10303eae8..fff7601fb03ffb86ec87b930a5ad166af1d05563 100644 (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;
index 2543329dd10252556c9b6dde8456436495f3e7d4..eb2eb1eb7bb5a89c6a9d7084e05116a74bfd5e1b 100644 (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.
index 9122e3a5ec3bb6318ba66319f2947941e24076a7..3718602786faec363f11274480331a974b8f4a03 100644 (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;
index 1ceac30fe3f9b63df567bab77e32d1177caf4780..ff9c42f74c048f069374b1ff48b036f0826e9d93 100644 (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 */
index a18f099c09f71023ac68a535fc08bd3e0ce9658e..1b7f38735604a78652810bc1c31a7b4a9e463754 100644 (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),
        /*!
index 045168571e9037821e2c41c2e045e22bc5baeae1..d4fcbeaf61d95c85f5a6c6655a1d00647dd5d95f 100644 (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,
index 7fcb85bd20be1fb07498e1b7e42fe7452074d6b1..f9af8fbfd91e67572ceac03350c6a6be44cbc894 100644 (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);
 
index f7d7719d2d4f7fb84536d9d4cb11fc96640daceb..143ffae23d5d77f3a4a3f5cb98c9fdf0accdd044 100644 (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
index d5f54cc657384348d3dbcbaad499ed37822da19b..63fb223bf9afedb51035ea620c1188c1f1f20a45 100644 (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
  */
index 53dfe93208d1f7a75be96c17e505eccd0a63b45b..554c8d523968f7d9512600c462f78c62cb82a565 100644 (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
index 008cfd3cbf9b85360f588da826f71b00b459cd29..4ff8e76230e113437bcb5789853fe2dd1b053776 100644 (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
  *
index 963519dc75ddfd9d946440f830ee0e31f18cbe2f..d93630af3ee4ff74a980f022f3aac1096f6b2895 100644 (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.
index 9c26f0fa7e3d6acdbafe6445e8b7678c4f68e4d4..accd2ffcf7e37813f08a9dbd1ea0095704f60abe 100644 (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);
index da2d44e514a64817304dae639355f344ca793b00..63058e19e34c5ca12968bab36caa254fe1503193 100644 (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.
                 */
        }
index afaf04341fe14a9343bc39eda33de249f94893f5..ff5225400ec16ad79182833e17848276b7ff98b2 100644 (file)
--- a/main/db.c
+++ b/main/db.c
@@ -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.
  *
index 4187cb59763bf6934a2d04bd0f936bc4e1ebe35f..448c3c0cab9784bd117dda5dda3b7d5649cd261c 100644 (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 */
index fcebe1253d8c8d960a877f2818945931cade7725..1acc261a746c33fc0a130ce64f789e30115b98eb 100644 (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)
index a4d1971dddcd6dbd53a3505d933a61cac37c7e7c..8ab68f41e79e2ba91ed48fa299f7fbb82df80293 100644 (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
         */
 
index 393532a5351c8fb5a7f0d3209c9b47ca31f052a6..0e0385beecafa9bc63a558b2b5818e8f3fcafd71 100644 (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;
 }
index 53a43e04150aec6cb6c67ed6a21c3605e4bb257c..ef74ab92bf303ef20554a838dd732f1e9b7259ab 100644 (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) {
index 2b75cc2a151f7eb7a1fcb40b0874e728682f9b56..881f53bb38b4f3ff67d73c224db82ea55fd72339 100644 (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.
index adcda3d5deb0b430e546bbe2eb3c0466b11a45fa..97aa04fa8ccd824d0b8fea85843a95a9a2431898 100644 (file)
                                <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>
index eac199a119a09ce95c7f941acb4d5202517a14dd..fd33d9f9d541728766ee4552e09c6e8be067f79c 100644 (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.
index 6240b7329a92130e03fa39337d6ecddce704667b..874b2d812afd866d25e0d5630973c453e8fb982e 100644 (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,
index 9379d7de61695698e603e1bdc9c403941130f57e..fcf755e61b59d02357d14befa301a346ba9fa47f 100644 (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. */
index b0a04fe2f0b70c422e1ec3e2e9fe35fffed6c691..a191e79f4199646b6c9ad32fe2ccfa44e030f042 100644 (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.
        */
index f4ef2ea0968b20de1b7ea207b44781d085d07b94..3c34e5c92e2644b5bd16186ffbbbd849fda27f91 100644 (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
index bbf6db211e7208b1eb718d1678a84fc3aa93db87..894f1a88cc41a0770c5b393c2f240bcc81cdd1a0 100644 (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. */
index 4a1c0846f22df4925d51d1d575e0cb72c2545e27..0938452460b5515e3137129c96ccc32b1ef24948 100644 (file)
                                        '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">
                                        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>
index 1367f95788aa6ded8df4190b6073155d2386a214..cf30cf5cfebabd31f24e52e5aee9b4f2661b2590 100644 (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;
index 76cf528eb078b802ce6dd0716c9b970ac2ab9650..84d6db11e6f49fdd8ff4adf4f3e3c8a3aab469fc 100644 (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 */
index 59418e4a9dc8760a87eae00c3824ffa12f6e873b..6a10c577a721bc4c5c7be15d49d9b738810f52e7 100644 (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
index 958f2254bbddf701d16dfe55fca0f1c8e909233c..64c150e3c30e72d851d8b2b976f00d1ff37c0423 100644 (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));
        }
index dc005a1e5d9cf517e5f7eeab7095f2104756e56b..655fc1f69bd26a5762342ebdc5f8327c43d7aec0 100644 (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)
 {
index 9d1e230ffc22dbdb535b5580761afc35025ee506..0adc28d19b67289f0fa2010862e02c762b06daeb 100644 (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")) ||
index ad2074cb8d813c6d87bd71e9fc09eb881b1c2cdf..273e045d5b5c15f28dac6982ab92aa04eebbf546 100644 (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");