diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2010-10-03 20:04:57 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2010-10-03 20:04:57 +0000 |
commit | 93f9937edef14690e967ae44fdd5cc9aa96e859b (patch) | |
tree | 415e913d3963312e779831737b9e6cae9102dc89 /pbx/pbx_spool.c | |
parent | 00b274ef4dde17ae4837ecd8541de50c0ece6931 (diff) |
Merged revisions 290066 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8
........
r290066 | tilghman | 2010-10-03 15:02:29 -0500 (Sun, 03 Oct 2010) | 8 lines
Get notification only when file is closed, not when created.
(closes issue #17924)
Reported by: mkeuter
Patches:
asterisk-1.8-bugid17924.patch uploaded by abelbeck (license 946)
Tested by: abelbeck
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@290067 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx/pbx_spool.c')
-rw-r--r-- | pbx/pbx_spool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pbx/pbx_spool.c b/pbx/pbx_spool.c index 7a76aa84b..9b88dd423 100644 --- a/pbx/pbx_spool.c +++ b/pbx/pbx_spool.c @@ -552,7 +552,7 @@ static void *scan_thread(void *unused) } #ifdef HAVE_INOTIFY - inotify_add_watch(inotify_fd, qdir, IN_CREATE | IN_MOVED_TO); + inotify_add_watch(inotify_fd, qdir, IN_CLOSE_WRITE | IN_MOVED_TO); #endif /* First, run through the directory and clear existing entries */ |