From: Joshua Colp Date: Wed, 28 Nov 2007 15:38:03 +0000 (+0000) Subject: Fix a few log messages. X-Git-Tag: 1.6.0-beta1~3^2~616 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6aad89b97d2a36d18e6cc3a6f6ca8ace55e6c415;p=thirdparty%2Fasterisk.git 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 --- diff --git a/main/abstract_jb.c b/main/abstract_jb.c index 734728a167..afc6bd182e 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 4599097c8c..10c6902c39 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); }