From 0ca6a42d7efa1a5b031228008495e9fe7e5d00b0 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Thu, 26 Oct 2006 17:52:15 +0000 Subject: fix various spelling mistakes in comments (issue #8237, jmls) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46339 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_alarmreceiver.c | 2 +- apps/app_festival.c | 2 +- apps/app_meetme.c | 4 ++-- apps/app_osplookup.c | 4 ++-- apps/app_rpt.c | 6 +++--- apps/app_sms.c | 2 +- apps/app_voicemail.c | 16 ++++++++-------- 7 files changed, 18 insertions(+), 18 deletions(-) (limited to 'apps') diff --git a/apps/app_alarmreceiver.c b/apps/app_alarmreceiver.c index 6ae985353..e74a7b46a 100644 --- a/apps/app_alarmreceiver.c +++ b/apps/app_alarmreceiver.c @@ -660,7 +660,7 @@ static int alarmreceiver_exec(struct ast_channel *chan, void *data) return -1; } - /* Set default values for this invokation of the application */ + /* Set default values for this invocation of the application */ ast_copy_string(signalling_type, ADEMCO_CONTACT_ID, sizeof(signalling_type)); diff --git a/apps/app_festival.c b/apps/app_festival.c index dafd89423..e02459873 100644 --- a/apps/app_festival.c +++ b/apps/app_festival.c @@ -73,7 +73,7 @@ static char *socket_receive_file_to_buff(int fd,int *size) { /* Receive file (probably a waveform file) from socket using */ /* Festival key stuff technique, but long winded I know, sorry */ - /* but will receive any file without closeing the stream or */ + /* but will receive any file without closing the stream or */ /* using OOB data */ static char *file_stuff_key = "ft_StUfF_key"; /* must == Festival's key */ char *buff; diff --git a/apps/app_meetme.c b/apps/app_meetme.c index dc73a0147..f2e3e0ccf 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -364,7 +364,7 @@ struct ast_sla_station_box { ASTOBJ_CONTAINER_COMPONENTS(struct ast_sla_station); }; -/*! SLA - Shared Line Apperance object. These consist of one trunk (outbound line) +/*! SLA - Shared Line Appearance object. These consist of one trunk (outbound line) and stations that receive incoming calls and place outbound calls over the trunk */ struct ast_sla { @@ -1090,7 +1090,7 @@ static int conf_run(struct ast_channel *chan, struct ast_conference *conf, int c time(&user->jointime); if (conf->locked && (!(confflags & CONFFLAG_ADMIN))) { - /* Sorry, but this confernce is locked! */ + /* Sorry, but this conference is locked! */ if (!ast_streamfile(chan, "conf-locked", chan->language)) ast_waitstream(chan, ""); goto outrun; diff --git a/apps/app_osplookup.c b/apps/app_osplookup.c index 23ad0da84..235d19df3 100644 --- a/apps/app_osplookup.c +++ b/apps/app_osplookup.c @@ -131,7 +131,7 @@ struct osp_result { /* OSP Module Global Variables */ AST_MUTEX_DEFINE_STATIC(osplock); /* Lock of OSP provider list */ static int osp_initialized = 0; /* Init flag */ -static int osp_hardware = 0; /* Hardware accelleration flag */ +static int osp_hardware = 0; /* Hardware acceleration flag */ static struct osp_provider* ospproviders = NULL; /* OSP provider list */ static unsigned int osp_tokenformat = TOKEN_ALGO_SIGNED; /* Token format supported */ @@ -1484,7 +1484,7 @@ static int osp_load(void) t = ast_variable_retrieve(cfg, OSP_GENERAL_CAT, "accelerate"); if (t && ast_true(t)) { if ((error = OSPPInit(1)) != OSPC_ERR_NO_ERROR) { - ast_log(LOG_WARNING, "OSP: Unable to enable hardware accelleration\n"); + ast_log(LOG_WARNING, "OSP: Unable to enable hardware acceleration\n"); OSPPInit(0); } else { osp_hardware = 1; diff --git a/apps/app_rpt.c b/apps/app_rpt.c index 5006bc7ce..eba6a69dc 100644 --- a/apps/app_rpt.c +++ b/apps/app_rpt.c @@ -766,7 +766,7 @@ static struct telem_defaults tele_defs[] = { } ; /* -* Forward decl's - these suppress compiler warnings when funcs coded further down the file than thier invokation +* Forward decl's - these suppress compiler warnings when funcs coded further down the file than their invocation */ static int setrbi(struct rpt *myrpt); @@ -1540,7 +1540,7 @@ static int send_morse(struct ast_channel *chan, const char *string, int speed, i dottime = 900 / speed; - /* Establish timing releationships */ + /* Establish timing relationships */ dashtime = 3 * dottime; intralettertime = dottime; @@ -7238,7 +7238,7 @@ static int rpt_exec(struct ast_channel *chan, void *data) service_scan(myrpt); } } - if (who == chan) { /* if it was a read from incomming */ + if (who == chan) { /* if it was a read from incoming */ f = ast_read(chan); if (!f) { if (debug) diff --git a/apps/app_sms.c b/apps/app_sms.c index 5bb076e81..93925292b 100644 --- a/apps/app_sms.c +++ b/apps/app_sms.c @@ -542,7 +542,7 @@ static void unpacksms8 (unsigned char *i, unsigned char l, unsigned char *udh, i } } while (l--) - *o++ = *i++; /* not to UTF-8 as explicitely 8 bit coding in DCS */ + *o++ = *i++; /* not to UTF-8 as explicitly 8 bit coding in DCS */ *udl = (o - ud); } diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 476cc2b34..587f7308b 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -1790,7 +1790,7 @@ static int base_encode(char *filename, FILE *so) static void prep_email_sub_vars(struct ast_channel *ast, struct ast_vm_user *vmu, int msgnum, char *context, char *mailbox, char *cidnum, char *cidname, char *dur, char *date, char *passdata, size_t passdatasize, const char *category) { char callerid[256]; - /* Prepare variables for substition in email body and subject */ + /* Prepare variables for substitution in email body and subject */ pbx_builtin_setvar_helper(ast, "VM_NAME", vmu->fullname); pbx_builtin_setvar_helper(ast, "VM_DUR", dur); snprintf(passdata, passdatasize, "%d", msgnum); @@ -2901,7 +2901,7 @@ static int leave_voicemail(struct ast_channel *chan, char *ext, struct leave_vm_ msgnum = newmsgs + oldmsgs; ast_log(LOG_NOTICE, "Messagecount set to %d\n",msgnum); snprintf(fn, sizeof(fn), "%s/imap/msg%s%04d", VM_SPOOL_DIR, vmu->mailbox, msgnum); - /* set variable for compatability */ + /* set variable for compatibility */ pbx_builtin_setvar_helper(chan, "VM_MESSAGEFILE", "IMAP_STORAGE"); /* Check if mailbox is full */ @@ -5908,7 +5908,7 @@ static int vm_authenticate(struct ast_channel *chan, char *mailbox, int mailbox_ static int vm_execmain(struct ast_channel *chan, void *data) { - /* XXX This is, admittedly, some pretty horrendus code. For some + /* XXX This is, admittedly, some pretty horrendous code. For some reason it just seemed a lot easier to do with GOTO's. I feel like I'm back in my GWBASIC days. XXX */ int res=-1; @@ -6429,7 +6429,7 @@ out: #endif mail_expunge(vms.mailstream); } - /* before we delete the state, we should copy pertainent info + /* before we delete the state, we should copy pertinent info * back to the persistent model */ vmstate_delete(&vms); #endif @@ -7082,14 +7082,14 @@ static int load_config(void) } ast_set2_flag((&globalflags), ast_true(astreview), VM_REVIEW); - /*Temperary greeting reminder */ + /*Temporary greeting reminder */ if (!(asttempgreetwarn = ast_variable_retrieve(cfg, "general", "tempgreetwarn"))) { if (option_debug) - ast_log(LOG_DEBUG, "VM Temperary Greeting Reminder Option disabled globally\n"); + ast_log(LOG_DEBUG, "VM Temporary Greeting Reminder Option disabled globally\n"); asttempgreetwarn = "no"; } else { if (option_debug) - ast_log(LOG_DEBUG, "VM Temperary Greeting Reminder Option enabled globally\n"); + ast_log(LOG_DEBUG, "VM Temporary Greeting Reminder Option enabled globally\n"); } ast_set2_flag((&globalflags), ast_true(asttempgreetwarn), VM_TEMPGREETWARN); @@ -8459,7 +8459,7 @@ static void vmstate_delete(struct vm_state *vms) struct vmstate *vc, *vf = NULL, *vl = NULL; struct vm_state *altvms; - /* If interactive, we should copy pertainent info + /* If interactive, we should copy pertinent info back to the persistent state (to make update immediate) */ if (vms->interactive == 1) { altvms = vms->persist_vms; -- cgit v1.2.3