aboutsummaryrefslogtreecommitdiffstats
path: root/main/astmm.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-07 00:16:03 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-07 00:16:03 +0000
commit06d06cb8468cb7c4e7d83defaeb85e16ee5b1940 (patch)
treeb783ec95190afd3788dd81f5c05a800758558a4a /main/astmm.c
parent66129a4c7ad51ede00529f052867f90f24ec550a (diff)
Fix another CLI command so it doesn't run the real code when called for initialization.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89076 f38db490-d61c-443f-a65b-d21fe96a405b
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;
}