From 1184d58302f222eb6c1a9d63a6c52404da335ab0 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Tue, 1 Sep 2009 03:42:16 +0000 Subject: [PATCH] (trunk libT) revert r9026 from ticket #2357 --- libtransmission/tracker.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/libtransmission/tracker.c b/libtransmission/tracker.c index c54a80dea..8cdec0398 100644 --- a/libtransmission/tracker.c +++ b/libtransmission/tracker.c @@ -776,8 +776,7 @@ buildTrackerRequestURI( tr_tracker * t, "&compact=1" "&supportcrypto=1" "&numwant=%d" - "&key=%s" - "&upload_only=%d", /* ticket #2357 */ + "&key=%s", strchr( ann, '?' ) ? '&' : '?', t->escaped, t->peer_id, @@ -787,8 +786,7 @@ buildTrackerRequestURI( tr_tracker * t, torrent->corruptCur, tr_cpLeftUntilComplete( &torrent->completion ), numwant, - t->key_param, - tr_torrentIsSeed( torrent ) ? 1 : 0 ); + t->key_param ); if( t->session->encryptionMode == TR_ENCRYPTION_REQUIRED ) evbuffer_add_printf( buf, "&requirecrypto=1" );