1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-23 08:13:27 +00:00

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

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;