mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-08 03:02:30 +00:00
* More fiddling of the throttle code.
* Fixed a bug that caused idle looping due to epoll_wait timeout using msecs rather than usecs resolution. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@590 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -56,9 +56,9 @@ InputEvent::remove(torrent::Poll* p) {
|
||||
|
||||
void
|
||||
InputEvent::event_read() {
|
||||
int c = getch();
|
||||
int c;
|
||||
|
||||
if (c != ERR)
|
||||
while ((c = getch()) != ERR)
|
||||
m_slotPressed(c);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user