[asterisk-commits] file: trunk r81391 - /trunk/apps/app_minivm.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Aug 30 15:55:20 CDT 2007


Author: file
Date: Thu Aug 30 15:55:19 2007
New Revision: 81391

URL: http://svn.digium.com/view/asterisk?view=rev&rev=81391
Log:
(closes issue #10336)
Reported by: junky
Patches:
      minivm_output2.diff uploaded by junky (license 177)
Change console output of minivm show stats to be more simple for external parsing.

Modified:
    trunk/apps/app_minivm.c

Modified: trunk/apps/app_minivm.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_minivm.c?view=diff&rev=81391&r1=81390&r2=81391
==============================================================================
--- trunk/apps/app_minivm.c (original)
+++ trunk/apps/app_minivm.c Thu Aug 30 15:55:19 2007
@@ -2659,9 +2659,9 @@
 	ast_cli(fd, "* Mini-Voicemail statistics\n");
 	ast_cli(fd, "  -------------------------\n");
 	ast_cli(fd, "\n");
-	ast_cli(fd, "  Voicemail accounts:                  %-5.5d\n", global_stats.voicemailaccounts);
-	ast_cli(fd, "  Templates:                           %-5.5d\n", global_stats.templates);
-	ast_cli(fd, "  Timezones:                           %-5.5d\n", global_stats.timezones);
+	ast_cli(fd, "  Voicemail accounts:                  %5d\n", global_stats.voicemailaccounts);
+	ast_cli(fd, "  Templates:                           %5d\n", global_stats.templates);
+	ast_cli(fd, "  Timezones:                           %5d\n", global_stats.timezones);
 	if (global_stats.receivedmessages == 0) {
 		ast_cli(fd, "  Received messages since last reset:  <none>\n");
 	} else {




More information about the asterisk-commits mailing list