fix some breakage from the CLI command changes
authorRussell Bryant <russell@russellbryant.com>
Wed, 20 Sep 2006 21:14:02 +0000 (21:14 +0000)
committerRussell Bryant <russell@russellbryant.com>
Wed, 20 Sep 2006 21:14:02 +0000 (21:14 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43372 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/astmm.c

index 990fe26..45e9006 100644 (file)
@@ -417,11 +417,11 @@ static struct ast_cli_entry cli_show_memory_summary_deprecated = {
 static struct ast_cli_entry cli_memory[] = {
        { { "memory", "show", "allocations", NULL },
        handle_show_memory, "Display outstanding memory allocations",
-       show_memory_help, NULL, &cli_show_memory_allocations },
+       show_memory_help, NULL, &cli_show_memory_allocations_deprecated },
 
        { { "memory", "show", "summary", NULL },
        handle_show_memory_summary, "Summarize outstanding memory allocations",
-       show_memory_summary_help, NULL, &cli_show_memory_summary },
+       show_memory_summary_help, NULL, &cli_show_memory_summary_deprecated },
 };
 
 void __ast_mm_init(void)