Minor config updates, add module counts (bug #2593)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3953 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2004-10-08 18:20:49 +00:00
parent 5ef0da8240
commit befaca888d
5 changed files with 33 additions and 2 deletions

2
cli.c
View File

@@ -337,7 +337,7 @@ static int handle_modlist(int fd, int argc, char *argv[])
ast_mutex_lock(&climodentrylock);
climodentryfd = fd;
ast_cli(fd, MODLIST_FORMAT2, "Module", "Description", "Use Count");
ast_update_module_list(modlist_modentry);
ast_cli(fd,"%d modules loaded\n",ast_update_module_list(modlist_modentry));
climodentryfd = -1;
ast_mutex_unlock(&climodentrylock);
return RESULT_SUCCESS;