[asterisk-commits] tilghman: branch 1.4 r177786 - /branches/1.4/main/pbx.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Feb 20 16:59:52 CST 2009
Author: tilghman
Date: Fri Feb 20 16:59:52 2009
New Revision: 177786
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=177786
Log:
Don't print the CR-NL combination when we aren't outputting to the manager.
An embedded CR-NL in a CLI command screws up several AMI parsers that don't
expect to see that combination in the middle of output.
(Closes issue #14305)
Reported by: martins
Patch by: tilghman
Modified:
branches/1.4/main/pbx.c
Modified: branches/1.4/main/pbx.c
URL: http://svn.digium.com/svn-view/asterisk/branches/1.4/main/pbx.c?view=diff&rev=177786&r1=177785&r2=177786
==============================================================================
--- branches/1.4/main/pbx.c (original)
+++ branches/1.4/main/pbx.c Fri Feb 20 16:59:52 2009
@@ -3660,7 +3660,7 @@
/* if we print something in context, make an empty line */
if (context_info_printed)
- ast_cli(fd, "\r\n");
+ ast_cli(fd, "\n");
}
ast_unlock_contexts();
More information about the asterisk-commits
mailing list