From 6f40f83a1f1b4766bc29df82126e71b9db80d259 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Fri, 12 Jun 2009 12:10:09 +0000 Subject: [PATCH] (trunk) #2204: wrong variable used in rpc-impl for webseedCount --- libtransmission/rpcimpl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtransmission/rpcimpl.c b/libtransmission/rpcimpl.c index b303d618b..03d3158ee 100644 --- a/libtransmission/rpcimpl.c +++ b/libtransmission/rpcimpl.c @@ -572,7 +572,7 @@ addField( const tr_torrent * tor, tr_benc * d, const char * key ) tr_bencListAddInt( w, inf->files[i].dnd ? 0 : 1 ); } else if( tr_streq( key, keylen, "webseeds" ) ) - addWebseeds( inf, tr_bencDictAddList( d, key, inf->trackerCount ) ); + addWebseeds( inf, tr_bencDictAddList( d, key, inf->webseedCount ) ); else if( tr_streq( key, keylen, "webseedsSendingToUs" ) ) tr_bencDictAddInt( d, key, st->webseedsSendingToUs ); }