summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2007-11-28 15:38:03 +0000
committerJoshua Colp <jcolp@digium.com>2007-11-28 15:38:03 +0000
commit6aad89b97d2a36d18e6cc3a6f6ca8ace55e6c415 (patch)
tree42f99d648c7c3f76a87a903b9f82212ee8f9d70f
parent972cacad4ab47b89d607f5507b4ed9e24afbf8fc (diff)
Fix a few log messages.
(closes issue #11396) Reported by: IgorG Patches: spell.v1.diff uploaded by IgorG (license 20) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89981 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r--main/abstract_jb.c2
-rw-r--r--res/res_agi.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/main/abstract_jb.c b/main/abstract_jb.c
index 734728a16..afc6bd182 100644
--- a/main/abstract_jb.c
+++ b/main/abstract_jb.c
@@ -313,7 +313,7 @@ int ast_jb_put(struct ast_channel *chan, struct ast_frame *f)
/* We consider an enabled jitterbuffer should receive frames with valid timing info. */
if (!f->has_timing_info || f->len < 2 || f->ts < 0) {
- ast_log(LOG_WARNING, "%s recieved frame with invalid timing info: "
+ ast_log(LOG_WARNING, "%s received frame with invalid timing info: "
"has_timing_info=%d, len=%ld, ts=%ld, src=%s\n",
chan->name, f->has_timing_info, f->len, f->ts, f->src);
return -1;
diff --git a/res/res_agi.c b/res/res_agi.c
index 4599097c8..10c6902c3 100644
--- a/res/res_agi.c
+++ b/res/res_agi.c
@@ -2117,7 +2117,7 @@ static int agi_exec_full(struct ast_channel *chan, void *data, int enhanced, int
return -1;
}
if (dead)
- ast_log(LOG_NOTICE, "Hungup channel detected, running agi in dead mode.");
+ ast_log(LOG_NOTICE, "Hungup channel detected, running agi in dead mode.\n");
ast_copy_string(buf, data, sizeof(buf));
memset(&agi, 0, sizeof(agi));
AST_STANDARD_APP_ARGS(args, tmp);
@@ -2203,7 +2203,7 @@ static int eagi_exec(struct ast_channel *chan, void *data)
static int deadagi_exec(struct ast_channel *chan, void *data)
{
- ast_log(LOG_WARNING, "DeadAGI has been deprecated, please use AGI in all cases!");
+ ast_log(LOG_WARNING, "DeadAGI has been deprecated, please use AGI in all cases!\n");
return agi_exec(chan, data);
}