mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 20:08:17 +00:00
fix bug
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6323 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user