mainloop: fix timeout assignment in pa_mainloop_prepare
authorshdown <shdownnine@gmail.com>
Sun, 9 Jun 2019 13:40:14 +0000 (13:40 +0000)
committershdown <shdownnine@gmail.com>
Sun, 9 Jun 2019 13:40:14 +0000 (13:40 +0000)
commit6b1719d0ed100ce5a65f28c3c4d4f3b59f3f56a0
tree9c54b236512e0504dcc967845231e37872995e45
parentcbaeea4af7669003ae97064fe12fa75fd4870611
mainloop: fix timeout assignment in pa_mainloop_prepare

The function calculates the correct timeout (in microseconds) to assign
in the `u` variable, but then assigns `m->prepared_timeout` the value
of the `timeout` argument (in milliseconds).
src/pulse/mainloop.c