aboutsummaryrefslogtreecommitdiffstats
path: root/main/file.c
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2009-02-26 16:42:36 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2009-02-26 16:42:36 +0000
commit4f574bf0bb5f42cd0699b2b46d73006d14e6afea (patch)
tree2d8a4ebd321c908d40966732bfbc03de34b00b6e /main/file.c
parent828dcfc193e91a635c72783c99ea34b51d363f7b (diff)
Fix an issue where the timer for file playback would not be stopped if DAHDI was not installed.
(closes issue #14541) Reported by: grant git-svn-id: http://svn.digium.com/svn/asterisk/trunk@178801 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/file.c')
-rw-r--r--main/file.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/main/file.c b/main/file.c
index d4aeea720..7771a77c4 100644
--- a/main/file.c
+++ b/main/file.c
@@ -292,9 +292,7 @@ static void filestream_destructor(void *arg)
if (f->fmt->format < AST_FORMAT_AUDIO_MASK) {
f->owner->stream = NULL;
AST_SCHED_DEL(f->owner->sched, f->owner->streamid);
-#ifdef HAVE_DAHDI
ast_settimeout(f->owner, 0, NULL, NULL);
-#endif
} else {
f->owner->vstream = NULL;
AST_SCHED_DEL(f->owner->sched, f->owner->vstreamid);