mirror of
https://github.com/transmission/transmission
synced 2024-12-23 00:04:06 +00:00
libT: undo r13901 regression to #4888 in the nightlies
This commit is contained in:
parent
f1d616d37c
commit
d4d2a04560
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue