From 65859759510ca2edb2d4b1c8251add46760beaac Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Wed, 2 Jun 2010 17:14:37 +0000 Subject: [PATCH] Cleanup error/warning messages in AEL2 parser (closes issue #16684) Reported by: Silmaril Patches: patch_ael2_logmsg.diff uploaded by Silmaril (license 979) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@267009 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/ast_expr2.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/ast_expr2.y b/main/ast_expr2.y index caa4314bdb..c09cd0a69a 100644 --- a/main/ast_expr2.y +++ b/main/ast_expr2.y @@ -969,7 +969,7 @@ op_colon (struct val *a, struct val *b) /* compile regular expression */ if ((eval = regcomp (&rp, b->u.s, REG_EXTENDED)) != 0) { regerror (eval, &rp, errbuf, sizeof(errbuf)); - ast_log(LOG_WARNING,"regcomp() error : %s",errbuf); + ast_log(LOG_WARNING, "regcomp() error : %s\n", errbuf); free_value(a); free_value(b); return make_str(""); @@ -1020,7 +1020,7 @@ op_eqtilde (struct val *a, struct val *b) /* compile regular expression */ if ((eval = regcomp (&rp, b->u.s, REG_EXTENDED)) != 0) { regerror (eval, &rp, errbuf, sizeof(errbuf)); - ast_log(LOG_WARNING,"regcomp() error : %s",errbuf); + ast_log(LOG_WARNING, "regcomp() error : %s\n", errbuf); free_value(a); free_value(b); return make_str("");