diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2005-08-11 18:34:03 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2005-08-11 18:34:03 +0000 |
commit | ab7ae0051354121bd0cb5566c9488bf8ef360571 (patch) | |
tree | 7b7182e3cc57d8e852d1868c57eff7cf6f95ecc5 /apps | |
parent | 86c7ad92170244c4d9c9b1722847691732197a1a (diff) |
fix bug
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6323 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps')
-rwxr-xr-x | apps/app_externalivr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_externalivr.c b/apps/app_externalivr.c index f8a7e0393..17894694f 100755 --- a/apps/app_externalivr.c +++ b/apps/app_externalivr.c @@ -390,8 +390,8 @@ static int app_exec(struct ast_channel *chan, void *data) u->list_cleared = 1; entry = make_entry(&input[2]); if (entry) - AST_LIST_UNLOCK(&u->playlist); - AST_LIST_INSERT_TAIL(&u->playlist, entry, list); + AST_LIST_INSERT_TAIL(&u->playlist, entry, list); + AST_LIST_UNLOCK(&u->playlist); } else if (input[0] == 'A') { if (ast_fileexists(&input[2], NULL, NULL) == -1) { fprintf(child_events, "Z,%10ld\n", time(NULL)); |