Skip to content
Snippets Groups Projects
Commit ab7ae005 authored by Kevin P. Fleming's avatar Kevin P. Fleming
Browse files

fix bug

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6323 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 86c7ad92
No related branches found
No related tags found
No related merge requests found
......@@ -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));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment