]> granicus.if.org Git - transmission/commitdiff
(trunk) #2204: wrong variable used in rpc-impl for webseedCount
authorCharles Kerr <charles@transmissionbt.com>
Fri, 12 Jun 2009 12:10:09 +0000 (12:10 +0000)
committerCharles Kerr <charles@transmissionbt.com>
Fri, 12 Jun 2009 12:10:09 +0000 (12:10 +0000)
libtransmission/rpcimpl.c

index b303d618b6d05d0021d169a7318142a35cce92e6..03d3158ee74f9426e04fe993d1d7a275e0f1bd14 100644 (file)
@@ -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 );
 }