From 6d177693e022ab6ac32cbac34b43b21c8fb3c4e9 Mon Sep 17 00:00:00 2001 From: David Brooks Date: Mon, 27 Jul 2009 20:23:33 +0000 Subject: [PATCH] Merged revisions 209098 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r209098 | dbrooks | 2009-07-27 11:33:50 -0500 (Mon, 27 Jul 2009) | 6 lines Fixing typos. Replaces "recieved" with "received" and "initilize" with "initialize" (closes issue #15571) Reported by: alecdavis ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@209221 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_dahdi.c | 4 ++-- channels/chan_vpb.cc | 2 +- include/asterisk/module.h | 2 +- main/features.c | 2 +- res/res_agi.c | 2 +- res/res_jabber.c | 4 ++-- res/res_smdi.c | 4 ++-- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index daa2841e2b..6a1c8a7b61 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -4738,7 +4738,7 @@ static struct ast_frame *dahdi_handle_event(struct ast_channel *ast) p->echocanon = 0; break; case DAHDI_EVENT_BITSCHANGED: - ast_log(LOG_WARNING, "Recieved bits changed on %s signalling?\n", sig2str(p->sig)); + ast_log(LOG_WARNING, "Received bits changed on %s signalling?\n", sig2str(p->sig)); case DAHDI_EVENT_PULSE_START: /* Stop tone if there's a pulse start and the PBX isn't started */ if (!ast->pbx) @@ -7200,7 +7200,7 @@ static void *ss_thread(void *data) else if (smdi_msg->type == 'N') pbx_builtin_setvar_helper(chan, "_SMDI_VM_TYPE", "u"); - ast_debug(1, "Recieved SMDI message on %s\n", chan->name); + ast_debug(1, "Received SMDI message on %s\n", chan->name); } else { ast_log(LOG_WARNING, "SMDI enabled but no SMDI message present\n"); } diff --git a/channels/chan_vpb.cc b/channels/chan_vpb.cc index 92b2919a48..78f3ceeeaf 100644 --- a/channels/chan_vpb.cc +++ b/channels/chan_vpb.cc @@ -1509,7 +1509,7 @@ static struct vpb_pvt *mkif(int board, int channel, int mode, int gains, float t tmp->callgroup = callgroup; tmp->pickupgroup = pickupgroup; - /* Initilize dtmf caller ID position variable */ + /* Initialize dtmf caller ID position variable */ tmp->dtmf_caller_pos = 0; ast_copy_string(tmp->language, language, sizeof(tmp->language)); diff --git a/include/asterisk/module.h b/include/asterisk/module.h index c30325294e..a46f3319cb 100644 --- a/include/asterisk/module.h +++ b/include/asterisk/module.h @@ -69,7 +69,7 @@ enum ast_module_load_result { * \param resource_name The name of the module to load. * * This function is run by the PBX to load the modules. It performs - * all loading and initilization tasks. Basically, to load a module, just + * all loading and initialization tasks. Basically, to load a module, just * give it the name of the module and it will do the rest. * * \return See possible enum values for ast_module_load_result. diff --git a/main/features.c b/main/features.c index 37fe28b72e..4c39db39a8 100644 --- a/main/features.c +++ b/main/features.c @@ -1042,7 +1042,7 @@ static int builtin_blindtransfer(struct ast_channel *chan, struct ast_channel *p if (!transferer->cdr) { /* this code should never get called (in a perfect world) */ transferer->cdr=ast_cdr_alloc(); if (transferer->cdr) { - ast_cdr_init(transferer->cdr, transferer); /* initilize our channel's cdr */ + ast_cdr_init(transferer->cdr, transferer); /* initialize our channel's cdr */ ast_cdr_start(transferer->cdr); } } diff --git a/res/res_agi.c b/res/res_agi.c index 302a5f5ade..c036cc5be5 100644 --- a/res/res_agi.c +++ b/res/res_agi.c @@ -2246,7 +2246,7 @@ static char usage_sayphonetic[] = static char usage_getdata[] = " Usage: GET DATA [timeout] [max digits]\n" -" Stream the given file, and recieve DTMF data. Returns the digits received\n" +" Stream the given file, and receive DTMF data. Returns the digits received\n" "from the channel at the other end.\n"; static char usage_setcontext[] = diff --git a/res/res_jabber.c b/res/res_jabber.c index 5751f42c32..124b15ab6d 100644 --- a/res/res_jabber.c +++ b/res/res_jabber.c @@ -462,7 +462,7 @@ static struct ast_custom_function jabberstatus_function = { /*! * \brief Dial plan function to send a message. * \param chan ast_channel - * \param data Data is sender|reciever|message. + * \param data Data is sender|receiver|message. * \return 0 on success,-1 on error. */ static int aji_send_exec(struct ast_channel *chan, void *data) @@ -1339,7 +1339,7 @@ static int aji_dinfo_handler(void *data, ikspak *pak) resource = aji_find_resource(buddy, pak->from->resource); if (pak->subtype == IKS_TYPE_ERROR) { - ast_log(LOG_WARNING, "Recieved error from a client, turn on jabber debug!\n"); + ast_log(LOG_WARNING, "Received error from a client, turn on jabber debug!\n"); return IKS_FILTER_EAT; } if (pak->subtype == IKS_TYPE_RESULT) { diff --git a/res/res_smdi.c b/res/res_smdi.c index 78a82e2da1..e29570b96b 100644 --- a/res/res_smdi.c +++ b/res/res_smdi.c @@ -601,7 +601,7 @@ static void *smdi_read(void *iface_p) /* add the message to the message queue */ md_msg->timestamp = ast_tvnow(); ast_smdi_md_message_push(iface, md_msg); - ast_log(LOG_DEBUG, "Recieved SMDI MD message on %s\n", iface->name); + ast_log(LOG_DEBUG, "Received SMDI MD message on %s\n", iface->name); ASTOBJ_UNREF(md_msg, ast_smdi_md_message_destroy); @@ -650,7 +650,7 @@ static void *smdi_read(void *iface_p) /* add the message to the message queue */ mwi_msg->timestamp = ast_tvnow(); ast_smdi_mwi_message_push(iface, mwi_msg); - ast_log(LOG_DEBUG, "Recieved SMDI MWI message on %s\n", iface->name); + ast_log(LOG_DEBUG, "Received SMDI MWI message on %s\n", iface->name); ASTOBJ_UNREF(mwi_msg, ast_smdi_mwi_message_destroy); } else {