fixed rate limited udp socket timer issue

This commit is contained in:
Arvid Norberg 2010-07-03 02:57:21 +00:00
parent f6669c64c5
commit 70ea511409
1 changed files with 1 additions and 1 deletions

View File

@ -744,7 +744,7 @@ void rate_limited_udp_socket::on_tick(error_code const& e)
if (e) return;
if (is_closed()) return;
error_code ec;
ptime now = time_now();
ptime now = time_now_hires();
m_timer.expires_at(now + seconds(1), ec);
m_timer.async_wait(boost::bind(&rate_limited_udp_socket::on_tick, this, _1));