Fix ast_app_dtget() time unit inconsistency.
authorRichard Mudgett <rmudgett@digium.com>
Sat, 21 Jan 2012 00:23:13 +0000 (00:23 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Sat, 21 Jan 2012 00:23:13 +0000 (00:23 +0000)
commit20c6ff71b634e8c200dedec3781776d89fbf22a6
tree026a5e27c578af054feb5363cdd6d589dbf52830
parent02408a2476a8462fda158829b3b75df5a33d9dad
Fix ast_app_dtget() time unit inconsistency.

Note: Noone calls ast_app_dtget() with the timeout parameter of zero so
the bad code normally will never get executed.

* Fix unnecessary floating point division in func_timeout.c
timeout_write() when all other values are integers.

(closes issue ASTERISK-16817)
Reported by: Dmitry Andrianov
........

Merged revisions 352029 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 352035 from http://svn.asterisk.org/svn/asterisk/branches/10

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@352041 65c4cc65-6c06-0410-ace0-fbb531ad65f3
funcs/func_timeout.c
main/app.c