libT: undo r13901 regression to #4888 in the nightlies

This commit is contained in:
Jordan Lee 2013-04-13 19:28:49 +00:00
parent f1d616d37c
commit d4d2a04560
1 changed files with 1 additions and 1 deletions

View File

@ -920,7 +920,7 @@ announce_request_new (const tr_announcer * announcer,
req->corrupt = tier->byteCounts[TR_ANN_CORRUPT];
req->leftUntilComplete = tr_torrentHasMetadata (tor)
? tor->info.totalSize - tr_cpHaveTotal (&tor->completion)
: 0;
: ~ (uint64_t)0;
req->event = event;
req->numwant = event == TR_ANNOUNCE_EVENT_STOPPED ? 0 : NUMWANT;
req->key = announcer->key;