[asterisk-commits] mogorman: branch anthonyl/escape-filter2 r47489 -
/team/anthonyl/escape-filte...
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Fri Nov 10 19:00:25 MST 2006
Author: mogorman
Date: Fri Nov 10 20:00:25 2006
New Revision: 47489
URL: http://svn.digium.com/view/asterisk?view=rev&rev=47489
Log:
filtration complete!
Modified:
team/anthonyl/escape-filter2/main/logger.c
Modified: team/anthonyl/escape-filter2/main/logger.c
URL: http://svn.digium.com/view/asterisk/team/anthonyl/escape-filter2/main/logger.c?view=diff&rev=47489&r1=47488&r2=47489
==============================================================================
--- team/anthonyl/escape-filter2/main/logger.c (original)
+++ team/anthonyl/escape-filter2/main/logger.c Fri Nov 10 20:00:25 2006
@@ -767,7 +767,8 @@
term_color(tmp2, file, COLOR_BRWHITE, 0, sizeof(tmp2)),
term_color(tmp3, linestr, COLOR_BRWHITE, 0, sizeof(tmp3)),
term_color(tmp4, function, COLOR_BRWHITE, 0, sizeof(tmp4)));
-
+ /*filter to the console!*/
+ term_filter_escapes(buf->str);
ast_console_puts_mutable(buf->str);
va_start(ap, fmt);
@@ -799,7 +800,6 @@
va_end(ap);
if (res != AST_DYNSTR_BUILD_FAILED) {
term_strip(buf->str, buf->str, buf->len);
- term_filter_escapes(buf->str);
fputs(buf->str, chan->fileptr);
fflush(chan->fileptr);
}
More information about the asterisk-commits
mailing list