[asterisk-commits] file: trunk r89981 - in /trunk: main/abstract_jb.c res/res_agi.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Nov 28 09:38:04 CST 2007


Author: file
Date: Wed Nov 28 09:38:03 2007
New Revision: 89981

URL: http://svn.digium.com/view/asterisk?view=rev&rev=89981
Log:
Fix a few log messages.
(closes issue #11396)
Reported by: IgorG
Patches:
      spell.v1.diff uploaded by IgorG (license 20)

Modified:
    trunk/main/abstract_jb.c
    trunk/res/res_agi.c

Modified: trunk/main/abstract_jb.c
URL: http://svn.digium.com/view/asterisk/trunk/main/abstract_jb.c?view=diff&rev=89981&r1=89980&r2=89981
==============================================================================
--- trunk/main/abstract_jb.c (original)
+++ trunk/main/abstract_jb.c Wed Nov 28 09:38:03 2007
@@ -313,7 +313,7 @@
 
 	/* 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;

Modified: trunk/res/res_agi.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_agi.c?view=diff&rev=89981&r1=89980&r2=89981
==============================================================================
--- trunk/res/res_agi.c (original)
+++ trunk/res/res_agi.c Wed Nov 28 09:38:03 2007
@@ -2117,7 +2117,7 @@
 		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 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);
 }
 




More information about the asterisk-commits mailing list