dect
/
asterisk
Archived
13
0
Fork 0

Fixing typos. Replaces "recieved" with "received" and "initilize" with "initialize"

(closes issue #15571)
Reported by: alecdavis



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@209098 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
dbrooks 2009-07-27 16:33:50 +00:00
parent ce7d9a004b
commit 3a578de20c
10 changed files with 37 additions and 37 deletions

View File

@ -146,7 +146,7 @@ struct mbl_pvt {
unsigned int needcallerid:1; /*!< we need callerid */
unsigned int needchup:1; /*!< we need to send a chup */
unsigned int needring:1; /*!< we need to send a RING */
unsigned int answered:1; /*!< we sent/recieved an answer */
unsigned int answered:1; /*!< we sent/received an answer */
unsigned int connected:1; /*!< do we have an rfcomm connection to a device */
AST_LIST_ENTRY(mbl_pvt) entry;
@ -2571,7 +2571,7 @@ static int hsp_send_ring(int rsock)
/*!
* \brief Add an item to the back of the queue.
* \param pvt a mbl_pvt structure
* \param expect the msg we expect to recieve
* \param expect the msg we expect to receive
* \param response_to the message that was sent to generate the expected
* response
*/
@ -2591,7 +2591,7 @@ static int msg_queue_push(struct mbl_pvt *pvt, at_message_t expect, at_message_t
/*!
* \brief Add an item to the back of the queue with data.
* \param pvt a mbl_pvt structure
* \param expect the msg we expect to recieve
* \param expect the msg we expect to receive
* \param response_to the message that was sent to generate the expected
* response
* \param data data associated with this message, it will be freed when the
@ -2803,9 +2803,9 @@ static int handle_response_brsf(struct mbl_pvt *pvt, char *buf)
msg_queue_free_and_pop(pvt);
} else if (entry) {
ast_debug(1, "[%s] recieved unexpected AT message 'BRSF' when expecting %s, ignoring\n", pvt->id, at_msg2str(entry->expected));
ast_debug(1, "[%s] received unexpected AT message 'BRSF' when expecting %s, ignoring\n", pvt->id, at_msg2str(entry->expected));
} else {
ast_debug(1, "[%s] recieved unexpected AT message 'BRSF'\n", pvt->id);
ast_debug(1, "[%s] received unexpected AT message 'BRSF'\n", pvt->id);
}
return 0;
@ -2845,9 +2845,9 @@ static int handle_response_cind(struct mbl_pvt *pvt, char *buf)
}
msg_queue_free_and_pop(pvt);
} else if (entry) {
ast_debug(1, "[%s] recieved unexpected AT message 'CIND' when expecting %s, ignoring\n", pvt->id, at_msg2str(entry->expected));
ast_debug(1, "[%s] received unexpected AT message 'CIND' when expecting %s, ignoring\n", pvt->id, at_msg2str(entry->expected));
} else {
ast_debug(1, "[%s] recieved unexpected AT message 'CIND'\n", pvt->id);
ast_debug(1, "[%s] received unexpected AT message 'CIND'\n", pvt->id);
}
return 0;
@ -2870,7 +2870,7 @@ static int handle_response_ok(struct mbl_pvt *pvt, char *buf)
if ((entry = msg_queue_head(pvt)) && entry->expected == AT_OK) {
switch (entry->response_to) {
/* initilization stuff */
/* initialization stuff */
case AT_BRSF:
ast_debug(1, "[%s] BSRF sent successfully\n", pvt->id);
@ -2972,7 +2972,7 @@ static int handle_response_ok(struct mbl_pvt *pvt, char *buf)
ast_debug(1, "[%s] sms new message indication enabled\n", pvt->id);
pvt->has_sms = 1;
break;
/* end initilization stuff */
/* end initialization stuff */
case AT_A:
ast_debug(1, "[%s] answer sent successfully\n", pvt->id);
@ -3000,14 +3000,14 @@ static int handle_response_ok(struct mbl_pvt *pvt, char *buf)
break;
case AT_UNKNOWN:
default:
ast_debug(1, "[%s] recieved OK for unhandled request: %s\n", pvt->id, at_msg2str(entry->response_to));
ast_debug(1, "[%s] received OK for unhandled request: %s\n", pvt->id, at_msg2str(entry->response_to));
break;
}
msg_queue_free_and_pop(pvt);
} else if (entry) {
ast_debug(1, "[%s] recieved AT message 'OK' when expecting %s, ignoring\n", pvt->id, at_msg2str(entry->expected));
ast_debug(1, "[%s] received AT message 'OK' when expecting %s, ignoring\n", pvt->id, at_msg2str(entry->expected));
} else {
ast_debug(1, "[%s] recieved unexpected AT message 'OK'\n", pvt->id);
ast_debug(1, "[%s] received unexpected AT message 'OK'\n", pvt->id);
}
return 0;
@ -3034,7 +3034,7 @@ static int handle_response_error(struct mbl_pvt *pvt, char *buf)
|| entry->expected == AT_SMS_PROMPT)) {
switch (entry->response_to) {
/* initilization stuff */
/* initialization stuff */
case AT_BRSF:
ast_debug(1, "[%s] error reading BSRF\n", pvt->id);
goto e_return;
@ -3053,7 +3053,7 @@ static int handle_response_error(struct mbl_pvt *pvt, char *buf)
case AT_VGS:
ast_debug(1, "[%s] volume level synchronization failed\n", pvt->id);
/* this is not a fatal error, let's continue with initilization */
/* this is not a fatal error, let's continue with initialization */
/* set the SMS operating mode to text mode */
if (hfp_send_cmgf(pvt->hfp, 1) || msg_queue_push(pvt, AT_OK, AT_CMGF)) {
@ -3069,7 +3069,7 @@ static int handle_response_error(struct mbl_pvt *pvt, char *buf)
ast_debug(1, "[%s] error setting CNMI\n", pvt->id);
ast_debug(1, "[%s] no SMS support\n", pvt->id);
break;
/* end initilization stuff */
/* end initialization stuff */
case AT_A:
ast_debug(1, "[%s] answer failed\n", pvt->id);
@ -3096,14 +3096,14 @@ static int handle_response_error(struct mbl_pvt *pvt, char *buf)
break;
case AT_UNKNOWN:
default:
ast_debug(1, "[%s] recieved ERROR for unhandled request: %s\n", pvt->id, at_msg2str(entry->response_to));
ast_debug(1, "[%s] received ERROR for unhandled request: %s\n", pvt->id, at_msg2str(entry->response_to));
break;
}
msg_queue_free_and_pop(pvt);
} else if (entry) {
ast_debug(1, "[%s] recieved AT message 'ERROR' when expecting %s, ignoring\n", pvt->id, at_msg2str(entry->expected));
ast_debug(1, "[%s] received AT message 'ERROR' when expecting %s, ignoring\n", pvt->id, at_msg2str(entry->expected));
} else {
ast_debug(1, "[%s] recieved unexpected AT message 'ERROR'\n", pvt->id);
ast_debug(1, "[%s] received unexpected AT message 'ERROR'\n", pvt->id);
}
return 0;
@ -3371,13 +3371,13 @@ static void *do_monitor_phone(void *data)
at_message_t at_msg;
struct msg_queue_entry *entry;
/* Note: At one point the initilization procedure was neatly contained
* in the hfp_init() function, but that initilization method did not
* work with non standard devices. As a result, the initilization
/* Note: At one point the initialization procedure was neatly contained
* in the hfp_init() function, but that initialization method did not
* work with non standard devices. As a result, the initialization
* procedure is not spread throughout the event handling loop.
*/
/* start initilization with the BRSF request */
/* start initialization with the BRSF request */
ast_mutex_lock(&pvt->lock);
pvt->timeout = 10000;
if (hfp_send_brsf(hfp, &hfp_our_brsf) || msg_queue_push(pvt, AT_BRSF, AT_BRSF)) {
@ -3758,7 +3758,7 @@ static void *do_discovery(void *data)
pvt->connected = 1;
adapter->inuse = 1;
manager_event(EVENT_FLAG_SYSTEM, "MobileStatus", "Status: Connect\r\nDevice: %s\r\n", pvt->id);
ast_verb(3, "Bluetooth Device %s has connected, initilizing...\n", pvt->id);
ast_verb(3, "Bluetooth Device %s has connected, initializing...\n", pvt->id);
}
}
}

View File

@ -6712,7 +6712,7 @@ struct ast_frame wf;
strcpy(mylink->linklist,tmp + 2);
time(&mylink->linklistreceived);
rpt_mutex_unlock(&myrpt->lock);
if (debug > 6) ast_log(LOG_NOTICE,"@@@@ node %s recieved node list %s from node %s\n",
if (debug > 6) ast_log(LOG_NOTICE,"@@@@ node %s received node list %s from node %s\n",
myrpt->name,tmp,mylink->name);
return;
}

View File

@ -6422,13 +6422,13 @@ static struct ast_frame *dahdi_handle_event(struct ast_channel *ast)
case DAHDI_EVENT_BITSCHANGED:
#ifdef HAVE_OPENR2
if (p->sig != SIG_MFCR2) {
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));
} else {
ast_log(LOG_DEBUG, "bits changed in chan %d\n", p->channel);
openr2_chan_handle_cas(p->r2chan);
}
#else
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));
#endif
case DAHDI_EVENT_PULSE_START:
/* Stop tone if there's a pulse start and the PBX isn't started */
@ -8751,7 +8751,7 @@ static void *analog_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");
}

View File

@ -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));

View File

@ -70,7 +70,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.

View File

@ -1363,7 +1363,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);
}
}

View File

@ -756,7 +756,7 @@ static enum ast_module_load_result start_resource(struct ast_module *mod)
*
* If the ast_heap is provided (not NULL) the module is found and added to the
* heap without running the module's load() function. By doing this, modules
* added to the resource_heap can be initilized later in order by priority.
* added to the resource_heap can be initialized later in order by priority.
*
* If the ast_heap is not provided, the module's load function will be executed
* immediately */

View File

@ -1885,7 +1885,7 @@ static int handle_command_response(struct dundi_transaction *trans, struct dundi
break;
default:
/* Send unknown command if we don't know it, with final flag IFF it's the
first command in the dialog and only if we haven't recieved final notification */
first command in the dialog and only if we haven't received final notification */
if (!final) {
dundi_ie_append_byte(ied, DUNDI_IE_UNKNOWN, cmd);
dundi_send(trans, DUNDI_COMMAND_UNKNOWN, 0, !hdr->oseqno, ied);

View File

@ -560,7 +560,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, const char *data)
@ -1437,7 +1437,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) {

View File

@ -753,7 +753,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);
@ -802,11 +802,11 @@ 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 {
ast_log(LOG_ERROR, "Unknown SMDI message type recieved on %s (M%c).\n", iface->name, c);
ast_log(LOG_ERROR, "Unknown SMDI message type received on %s (M%c).\n", iface->name, c);
start = 0;
}
}