git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6323 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2005-08-11 18:34:03 +00:00
parent 86c7ad9217
commit ab7ae00513

View File

@@ -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));