[asterisk-commits] eliel: branch eliel/data_api_providers_gsoc2010 r270253 - /team/eliel/data_ap...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jun 14 12:19:05 CDT 2010


Author: eliel
Date: Mon Jun 14 12:19:02 2010
New Revision: 270253

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=270253
Log:
This is the right place to fix the cli command output.


Modified:
    team/eliel/data_api_providers_gsoc2010/main/data.c

Modified: team/eliel/data_api_providers_gsoc2010/main/data.c
URL: http://svnview.digium.com/svn/asterisk/team/eliel/data_api_providers_gsoc2010/main/data.c?view=diff&rev=270253&r1=270252&r2=270253
==============================================================================
--- team/eliel/data_api_providers_gsoc2010/main/data.c (original)
+++ team/eliel/data_api_providers_gsoc2010/main/data.c Mon Jun 14 12:19:02 2010
@@ -2634,7 +2634,7 @@
 
 	ast_term_color_code(&output, COLOR_WHITE, 0);
 
-	ast_cli(fd, "%s\n", ast_str_buffer(output));
+	ast_cli(fd, "%s", ast_str_buffer(output));
 
 	ast_free(output);
 
@@ -2690,6 +2690,8 @@
 	ast_free(output);
 
 	__data_result_print_cli(fd, root, 0);
+
+	ast_cli(fd, "\n");
 }
 
 /*!




More information about the asterisk-commits mailing list