mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-14 06:02:31 +00:00
Fixed missing return statement.
This commit is contained in:
@@ -63,8 +63,10 @@ Window::resize(int x, int y, int w, int h) {
|
||||
|
||||
void
|
||||
Window::schedule_update(unsigned int wait_seconds) {
|
||||
if (wait_seconds == 0)
|
||||
if (wait_seconds == 0) {
|
||||
m_slot_schedule(this, torrent::utils::ceil_seconds(torrent::this_thread::cached_time() + 100ms));
|
||||
return;
|
||||
}
|
||||
|
||||
m_slot_schedule(this, torrent::utils::ceil_seconds(torrent::this_thread::cached_time() + 1s*wait_seconds));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user