diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-27 19:35:09 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-27 19:35:09 +0000 |
commit | cb4b934c7e544005a0ce1541ca607df71c96fff1 (patch) | |
tree | bff9ff5c58bd86a2565c3205695279da5dfd1eb1 /pbx.c | |
parent | a0b53a7da58f56277a57fdb1741d8151fb1a91b0 (diff) |
Playback() wasn't setting PLAYBACKSTATUS under several circumstances.
Playback() returns -1 on missing args - so should Background()
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@43800 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx.c')
-rw-r--r-- | pbx.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5745,7 +5745,7 @@ static int pbx_builtin_background(struct ast_channel *chan, void *data) break; default: ast_log(LOG_WARNING, "Background requires an argument (filename)\n"); - break; + return -1; } } |