From: Tzafrir Cohen Date: Fri, 2 Jul 2010 15:59:30 +0000 (+0000) Subject: Fix typos reported by Lintian X-Git-Tag: 1.6.2.11-rc1~58 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffe8eb41500dff17fb84e0cdb15949f3aa0ed7d4;p=thirdparty%2Fasterisk.git Fix typos reported by Lintian git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@273642 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 993fe88ec2..f771c9b2cb 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -4497,7 +4497,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/channels/chan_dahdi.c b/channels/chan_dahdi.c index f788ed8d25..2a3ffa93ef 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -6807,7 +6807,7 @@ static struct ast_frame *dahdi_read(struct ast_channel *ast) /* Hang up if we don't really exist */ if (idx < 0) { - ast_log(LOG_WARNING, "We dont exist?\n"); + ast_log(LOG_WARNING, "We don't exist?\n"); ast_mutex_unlock(&p->lock); return NULL; } diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index 7834cd3710..e9e86bd767 100644 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -7547,7 +7547,7 @@ static int authenticate_verify(struct chan_iax2_pvt *p, struct iax_ies *ies) user = user_unref(user); } if (ast_test_flag(p, IAX_FORCE_ENCRYPT) && !p->encmethods) { - ast_log(LOG_NOTICE, "Call Terminated, Incomming call is unencrypted while force encrypt is enabled."); + ast_log(LOG_NOTICE, "Call Terminated, Incoming call is unencrypted while force encrypt is enabled."); return res; } if (!ast_test_flag(&p->state, IAX_STATE_AUTHENTICATED)) diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 16efc04354..6a83b43345 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -7504,7 +7504,7 @@ restartsearch: /* We do not respond to responses for dialogs that we don't know about, we just drop the session quickly */ if (intended_method == SIP_RESPONSE) - ast_debug(2, "That's odd... Got a response on a call we dont know about. Callid %s\n", callid ? callid : ""); + ast_debug(2, "That's odd... Got a response on a call we don't know about. Callid %s\n", callid ? callid : ""); return NULL; } @@ -12798,7 +12798,7 @@ static enum check_auth_result check_auth(struct sip_pvt *p, struct sip_request * return AUTH_CHALLENGE_SENT; } if (good_response) { - append_history(p, "AuthOK", "Auth challenge succesful for %s", username); + append_history(p, "AuthOK", "Auth challenge successful for %s", username); return AUTH_SUCCESSFUL; } @@ -18673,7 +18673,7 @@ static void handle_response(struct sip_pvt *p, int resp, char *rest, struct sip_ } } } else - ast_log(LOG_NOTICE, "Dont know how to handle a %d %s response from %s\n", resp, rest, p->owner ? p->owner->name : ast_inet_ntoa(p->sa.sin_addr)); + ast_log(LOG_NOTICE, "Don't know how to handle a %d %s response from %s\n", resp, rest, p->owner ? p->owner->name : ast_inet_ntoa(p->sa.sin_addr)); } } else { /* Responses to OUTGOING SIP requests on INCOMING calls diff --git a/res/res_agi.c b/res/res_agi.c index 1f9cb80b37..3ecf89be4f 100644 --- a/res/res_agi.c +++ b/res/res_agi.c @@ -441,7 +441,7 @@ static const char mandescr_asyncagi[] = "Variables:\n" " *Channel: Channel that is currently in Async AGI\n" " *Command: Application to execute\n" -" CommandID: comand id. This will be sent back in CommandID header of AsyncAGI exec event notification\n" +" CommandID: command id. This will be sent back in CommandID header of AsyncAGI exec event notification\n" "\n"; static struct agi_cmd *get_agi_cmd(struct ast_channel *chan) @@ -2434,7 +2434,7 @@ static char usage_recordfile[] = " to the offset without exceeding the end of the file. \"silence\" is the number\n" " of seconds of silence allowed before the function returns despite the\n" " lack of dtmf digits or reaching timeout. Silence value must be\n" -" preceeded by \"s=\" and is also optional.\n"; +" preceded by \"s=\" and is also optional.\n"; static char usage_autohangup[] = " Usage: SET AUTOHANGUP