From: Jordan Lee Date: Sat, 13 Apr 2013 19:28:49 +0000 (+0000) Subject: libT: undo r13901 regression to #4888 in the nightlies X-Git-Tag: 2.80~34 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d4d2a04560e100c5e7111ed107954da1a810afc3;p=transmission libT: undo r13901 regression to #4888 in the nightlies --- diff --git a/libtransmission/announcer.c b/libtransmission/announcer.c index af03c42b8..07c7cd24e 100644 --- a/libtransmission/announcer.c +++ b/libtransmission/announcer.c @@ -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;