aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authortzafrir <tzafrir@f38db490-d61c-443f-a65b-d21fe96a405b>2010-07-02 15:57:02 +0000
committertzafrir <tzafrir@f38db490-d61c-443f-a65b-d21fe96a405b>2010-07-02 15:57:02 +0000
commit4d43ba70d1537ee83f1910eeb11a8d246040bb57 (patch)
tree140374186507d1561a79c4dfb29494a10459c092 /apps
parent75e7a3bc76a04710b9e236dcb28bce83040792cf (diff)
Fix various typos reported by Lintian
(Also fix the typos in the comments) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@273641 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_rpt.c22
-rw-r--r--apps/app_voicemail.c2
-rw-r--r--apps/app_while.c2
3 files changed, 13 insertions, 13 deletions
diff --git a/apps/app_rpt.c b/apps/app_rpt.c
index 1b95eed02..a6be0e19f 100644
--- a/apps/app_rpt.c
+++ b/apps/app_rpt.c
@@ -1534,7 +1534,7 @@ struct rpt_link *l;
l = l->next;
continue;
}
- /* dont send to self */
+ /* don't send to self */
if (mylink && (l == mylink))
{
l = l->next;
@@ -1895,7 +1895,7 @@ int i,spos;
{
/* if is not a real link, ignore it */
if (l->name[0] == '0') continue;
- /* dont count our stuff */
+ /* don't count our stuff */
if (l == mylink) continue;
if (mylink && (!strcmp(l->name,mylink->name))) continue;
/* figure out mode to report */
@@ -4375,7 +4375,7 @@ struct dahdi_params par;
wait_interval(myrpt, DLY_TELEM, mychannel);
l = myrpt->links.next;
haslink = 0;
- /* dont report if a link for this one still on system */
+ /* don't report if a link for this one still on system */
if (l != &myrpt->links)
{
rpt_mutex_lock(&myrpt->lock);
@@ -5223,7 +5223,7 @@ char *v1, *v2;
{
case UNKEY:
/* if any of the following are defined, go ahead and do it,
- otherwise, dont bother */
+ otherwise, don't bother */
v1 = (char *) ast_variable_retrieve(myrpt->cfg, myrpt->name,
"unlinkedct");
v2 = (char *) ast_variable_retrieve(myrpt->cfg, myrpt->name,
@@ -6741,7 +6741,7 @@ struct ast_frame wf;
l = l->next;
continue;
}
- /* dont send back from where it came */
+ /* don't send back from where it came */
if ((l == mylink) || (!strcmp(l->name,mylink->name)))
{
l = l->next;
@@ -6772,7 +6772,7 @@ struct ast_frame wf;
l = l->next;
continue;
}
- /* dont send back from where it came */
+ /* don't send back from where it came */
if ((l == mylink) || (!strcmp(l->name,mylink->name)))
{
l = l->next;
@@ -6870,7 +6870,7 @@ struct ast_frame wf;
l = l->next;
continue;
}
- /* dont send back from where it came */
+ /* don't send back from where it came */
if ((l == mylink) || (!strcmp(l->name,mylink->name)))
{
l = l->next;
@@ -6897,7 +6897,7 @@ struct ast_frame wf;
l = l->next;
continue;
}
- /* dont send back from where it came */
+ /* don't send back from where it came */
if ((l == mylink) || (!strcmp(l->name,mylink->name)))
{
l = l->next;
@@ -10147,7 +10147,7 @@ int ret,res = 0,src;
/* if decode not active */
if (myrpt->dtmfidx == -1)
{
- /* if not lead-in digit, dont worry */
+ /* if not lead-in digit, don't worry */
if (c != myrpt->p.funcchar)
{
if (!myrpt->p.propagate_dtmf)
@@ -12990,7 +12990,7 @@ char *this,*val;
{
load_rpt_vars(i,1);
- /* if is a remote, dont start one for it */
+ /* if is a remote, don't start one for it */
if (rpt_vars[i].remote)
{
if(retreive_memory(&rpt_vars[i],"init")){ /* Try to retreive initial memory channel */
@@ -14337,7 +14337,7 @@ static int rpt_exec(struct ast_channel *chan, const char *data)
if (handle_remote_dtmf_digit(myrpt,c,&keyed,0) == -1) break;
continue;
} else rpt_mutex_unlock(&myrpt->lock);
- 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)
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 1fc20bf91..ae6cba171 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -4650,7 +4650,7 @@ static int add_email_attachment(FILE *p, struct ast_vm_user *vmu, char *format,
attach = newtmp;
ast_debug(3, "VOLGAIN: Stored at: %s.%s - Level: %.4f - Mailbox: %s\n", attach, format, vmu->volgain, mailbox);
} else {
- ast_log(LOG_WARNING, "Sox failed to reencode %s.%s: %s (have you installed support for all sox file formats?)\n", attach, format,
+ ast_log(LOG_WARNING, "Sox failed to re-encode %s.%s: %s (have you installed support for all sox file formats?)\n", attach, format,
soxstatus == 1 ? "Problem with command line options" : "An error occurred during file processing");
ast_log(LOG_WARNING, "Voicemail attachment will have no volume gain.\n");
}
diff --git a/apps/app_while.c b/apps/app_while.c
index f8144fc07..e9a503aad 100644
--- a/apps/app_while.c
+++ b/apps/app_while.c
@@ -204,7 +204,7 @@ static int _while_exec(struct ast_channel *chan, const char *data, int end)
}
#if 0
- /* dont want run away loops if the chan isn't even up
+ /* don't want run away loops if the chan isn't even up
this is up for debate since it slows things down a tad ......
Debate is over... this prevents While/EndWhile from working