(closes issue #10336)
authorJoshua Colp <jcolp@digium.com>
Thu, 30 Aug 2007 20:55:19 +0000 (20:55 +0000)
committerJoshua Colp <jcolp@digium.com>
Thu, 30 Aug 2007 20:55:19 +0000 (20:55 +0000)
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.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81391 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_minivm.c

index 5fc1d53..c9f9fc9 100644 (file)
@@ -2659,9 +2659,9 @@ static int handle_minivm_show_stats(int fd, int argc, char *argv[])
        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 {