]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Fix typos reported by Lintian
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>
Fri, 2 Jul 2010 15:59:30 +0000 (15:59 +0000)
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>
Fri, 2 Jul 2010 15:59:30 +0000 (15:59 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@273642 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c
channels/chan_dahdi.c
channels/chan_iax2.c
channels/chan_sip.c
res/res_agi.c

index 993fe88ec2c408eed0178af3974e78cb5a81a9d5..f771c9b2cbd332a30609ddda31bc5061c6d1ef8f 100644 (file)
@@ -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");
                        }
index f788ed8d2519593dc561518931b23a7b208e80ac..2a3ffa93ef7268cb2399d2a209652a191caf7e82 100644 (file)
@@ -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;
        }
index 7834cd3710acff8a48a0b548719ed13db44a0ebf..e9e86bd767b99b2a198d8f4272f702ef4da4364c 100644 (file)
@@ -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))
index 16efc04354b5a22369b9ea25a80ed87ac63afc00..6a83b433456d3b998301c86900ad321f3e25c1fb 100644 (file)
@@ -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 : "<unknown>");
+               ast_debug(2, "That's odd...  Got a response on a call we don't know about. Callid %s\n", callid ? callid : "<unknown>");
 
        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 
index 1f9cb80b37bbf9fedcea0d505453e018a2eff1ea..3ecf89be4ff167ec6766f984ddd86c67962bf54c 100644 (file)
@@ -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 <time>\n"