diff options
author | root <root@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-01 16:05:04 +0000 |
---|---|---|
committer | root <root@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-01 16:05:04 +0000 |
commit | 5139867d4822600726aa0aa49262dc5e851f7005 (patch) | |
tree | f329e74a9f5ba5d7e17d673db096415941399c55 /pbx.c | |
parent | b6b4c507170f7585715ba67b1628c995da94280e (diff) |
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@23981 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx.c')
-rw-r--r-- | pbx.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1172,10 +1172,12 @@ static int handle_show_functions(int fd, int argc, char *argv[]) int count_acf = 0; ast_cli(fd, "Installed Custom Functions:\n--------------------------------------------------------------------------------\n"); + ast_mutex_lock(&acflock); for (acf = acf_root ; acf; acf = acf->next) { ast_cli(fd, "%-20.20s %-35.35s %s\n", acf->name, acf->syntax, acf->synopsis); count_acf++; } + ast_mutex_unlock(&acflock); ast_cli(fd, "%d custom functions installed.\n", count_acf); return 0; } |