From f7c60b8fb6580ef84deb1014b95dfe11edb31eab Mon Sep 17 00:00:00 2001 From: Rusty Newton Date: Tue, 17 Dec 2013 23:38:02 +0000 Subject: [PATCH] Several components: fixing Typos in comments and code, "avaliable" instead of "available" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (issue ASTERISK-23021) (closes issue ASTERISK-23021) Reported by: Jeremy Lainé Tested by: Rusty Newton Patches: available.patch uploaded by Jeremy Lainé (license 6561) ........ Merged revisions 404046 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@404047 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_chanspy.c | 2 +- apps/app_mixmonitor.c | 2 +- channels/chan_iax2.c | 2 +- include/asterisk/test.h | 2 +- main/channel.c | 2 +- main/rtp_engine.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/app_chanspy.c b/apps/app_chanspy.c index 061fa261d6..bfe97a0d76 100644 --- a/apps/app_chanspy.c +++ b/apps/app_chanspy.c @@ -372,7 +372,7 @@ enum { OPTION_NAME = (1 << 12), /* Say the name of the person on whom we will spy */ OPTION_DTMF_SWITCH_MODES = (1 << 13), /* Allow numeric DTMF to switch between chanspy modes */ OPTION_DTMF_EXIT = (1 << 14), /* Set DTMF to exit, added for DAHDIScan integration */ - OPTION_DTMF_CYCLE = (1 << 15), /* Custom DTMF for cycling next avaliable channel, (default is '*') */ + OPTION_DTMF_CYCLE = (1 << 15), /* Custom DTMF for cycling next available channel, (default is '*') */ OPTION_DAHDI_SCAN = (1 << 16), /* Scan groups in DAHDIScan mode */ OPTION_STOP = (1 << 17), OPTION_EXITONHANGUP = (1 << 18), /* Hang up when the spied-on channel hangs up. */ diff --git a/apps/app_mixmonitor.c b/apps/app_mixmonitor.c index e22c8b0eae..4fe629dce9 100644 --- a/apps/app_mixmonitor.c +++ b/apps/app_mixmonitor.c @@ -1101,7 +1101,7 @@ static int stop_mixmonitor_full(struct ast_channel *chan, const char *data) ast_mutex_lock(&mixmonitor_ds->lock); - /* closing the filestream here guarantees the file is avaliable to the dialplan + /* closing the filestream here guarantees the file is available to the dialplan * after calling StopMixMonitor */ mixmonitor_ds_close_fs(mixmonitor_ds); diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index e27cc14c63..84a72c850c 100644 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -2871,7 +2871,7 @@ static int create_callno_pools(void) * \brief Schedules delayed removal of iax2_pvt call number data * * \note After MIN_REUSE_TIME has passed for a destroyed iax2_pvt, the callno is - * avaliable again, and the address from the previous connection must be decremented + * available again, and the address from the previous connection must be decremented * from the peercnts table. This function schedules these operations to take place. */ static void sched_delay_remove(struct ast_sockaddr *addr, callno_entry entry) diff --git a/include/asterisk/test.h b/include/asterisk/test.h index d29969f8bb..9a6e76cf08 100644 --- a/include/asterisk/test.h +++ b/include/asterisk/test.h @@ -45,7 +45,7 @@ Create a callback function for the test using the AST_TEST_DEFINE macro. - Each defined test has three arguments avaliable to it's test code. + Each defined test has three arguments available to it's test code. \param struct ast_test_info *info \param enum ast_test_command cmd \param struct ast_test *test diff --git a/main/channel.c b/main/channel.c index d1643658e1..d669baf85e 100644 --- a/main/channel.c +++ b/main/channel.c @@ -5626,7 +5626,7 @@ struct ast_channel *ast_call_forward(struct ast_channel *caller, struct ast_chan ast_channel_accountcode_set(new_chan, oh->account); ast_channel_unlock(new_chan); } - } else if (caller) { /* no outgoing helper so use caller if avaliable */ + } else if (caller) { /* no outgoing helper so use caller if available */ call_forward_inherit(new_chan, caller, orig); } ast_set_flag(ast_channel_flags(new_chan), AST_FLAG_ORIGINATED); diff --git a/main/rtp_engine.c b/main/rtp_engine.c index c63bab0ea6..82fb3b2be5 100644 --- a/main/rtp_engine.c +++ b/main/rtp_engine.c @@ -1610,7 +1610,7 @@ static void add_static_payload(int map, const struct ast_format *format, int rtp } if (map < 0) { - ast_log(LOG_WARNING, "No Dynamic RTP mapping avaliable for format %s\n" ,ast_getformatname(format)); + ast_log(LOG_WARNING, "No Dynamic RTP mapping available for format %s\n" ,ast_getformatname(format)); ast_rwlock_unlock(&static_RTP_PT_lock); return; }