]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 178801 via svnmerge from
authorJoshua Colp <jcolp@digium.com>
Thu, 26 Feb 2009 16:44:54 +0000 (16:44 +0000)
committerJoshua Colp <jcolp@digium.com>
Thu, 26 Feb 2009 16:44:54 +0000 (16:44 +0000)
https://origsvn.digium.com/svn/asterisk/trunk

........
  r178801 | file | 2009-02-26 12:42:36 -0400 (Thu, 26 Feb 2009) | 5 lines

  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: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@178803 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/file.c

index ef621925b6e0e8f4c6452456ead2f6ae7a165473..44f064a0218b55927b11dfaefee45919c48d7a37 100644 (file)
@@ -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);