Fix a calculation error I had made in the poll. The poll
authorMark Michelson <mmichelson@digium.com>
Thu, 7 Aug 2008 19:54:27 +0000 (19:54 +0000)
committerMark Michelson <mmichelson@digium.com>
Thu, 7 Aug 2008 19:54:27 +0000 (19:54 +0000)
commit9b5b8246c566d6fc30cf3ef68701fcc1981defc2
tree1e0a81a9404b0744d8000966b8e877ec5dbc6006
parented4e6bf52bfa76563ce23f5fd20c2246496a31e1
Fix a calculation error I had made in the poll. The poll
would reset to 500 ms every time a non-voice frame
was received. The total time we poll should be 500 ms, so
now we save the amount of time left after the poll returned
and use that as our argument for the next call to poll

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136633 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/channel.c