From d4d2a04560e100c5e7111ed107954da1a810afc3 Mon Sep 17 00:00:00 2001 From: Jordan Lee Date: Sat, 13 Apr 2013 19:28:49 +0000 Subject: [PATCH] libT: undo r13901 regression to #4888 in the nightlies --- libtransmission/announcer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;