Oops, remove extra paren.

This commit is contained in:
Josh Elsasser 2007-08-05 04:04:04 +00:00
parent bb728f36af
commit d0b41525bc
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ TRWindow::~TRWindow() {
tr_torrentIterate(engine, torrentclose, NULL);
const int MAX_EXIT_WAIT_SECS = 10;
const time_t deadline = time(0) + MAX_EXIT_WAIT_SECS;
while (tr_torrentCount(engine) && time(NULL) < deadline)) {
while (tr_torrentCount(engine) && time(NULL) < deadline) {
snooze(100000);
}
/* XXX there's no way to make sure the torrent threads are running so this might crash */