[asterisk-dev] [Code Review] Fix occasionally incorrectly delayed call-file execution.
rmudgett
reviewboard at asterisk.org
Thu Jan 26 11:25:33 CST 2012
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1688/
-----------------------------------------------------------
(Updated Jan. 26, 2012, 11:25 a.m.)
Review request for Asterisk Developers.
Changes
-------
Implemented a new approach.
Changed to force another scan if the directory was just modified.
Summary
-------
Call-files are sometimes delayed incorrectly.
This is actually a regression that has been in the code since 2007-07-11 (-r74704). That code restructuring to reduce code indention, incorrectly inverted a test to determine if the spool directory needed to be rescanned.
Most of the changes to scan_thread() are coding guidelines fixes.
This addresses bug ASTERISK-19081.
https://issues.asterisk.org/jira/browse/ASTERISK-19081
Diffs (updated)
-----
/branches/1.8/pbx/pbx_spool.c 352754
Diff: https://reviewboard.asterisk.org/r/1688/diff
Testing
-------
It compiles and I saw that the test was incorrectly inverted during a restructuring.
Thanks,
rmudgett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20120126/e5dc31cc/attachment.htm>
More information about the asterisk-dev
mailing list