(trunk) #2204: wrong variable used in rpc-impl for webseedCount

This commit is contained in:
Charles Kerr 2009-06-12 12:10:09 +00:00
parent 47cd41b68d
commit 6f40f83a1f
1 changed files with 1 additions and 1 deletions

View 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 );
}