summaryrefslogtreecommitdiff
path: root/main/astmm.c
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2007-11-07 00:16:03 +0000
committerRussell Bryant <russell@russellbryant.com>2007-11-07 00:16:03 +0000
commit5480c54e56f0e2d89cff1c6de8100ed821302b4f (patch)
treeb783ec95190afd3788dd81f5c05a800758558a4a /main/astmm.c
parent6e5b9e4951f7170a4c1815542ac91991b46eecd0 (diff)
Fix another CLI command so it doesn't run the real code when called for initialization.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89076 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/astmm.c')
-rw-r--r--main/astmm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/astmm.c b/main/astmm.c
index 099f12561..fd0b3d6fa 100644
--- a/main/astmm.c
+++ b/main/astmm.c
@@ -391,7 +391,7 @@ static char *handle_memory_show_summary(struct ast_cli_entry *e, int cmd, struct
"Usage: memory show summary [<file>]\n"
" Summarizes heap memory allocations by file, or optionally\n"
"by function, if a file is specified\n";
- break;
+ return NULL;
case CLI_GENERATE:
return NULL;
}