mirror of
https://github.com/transmission/transmission
synced 2025-02-03 13:03:50 +00:00
(trunk) #2204: wrong variable used in rpc-impl for webseedCount
This commit is contained in:
parent
47cd41b68d
commit
6f40f83a1f
1 changed files with 1 additions and 1 deletions
|
@ -572,7 +572,7 @@ addField( const tr_torrent * tor, tr_benc * d, const char * key )
|
||||||
tr_bencListAddInt( w, inf->files[i].dnd ? 0 : 1 );
|
tr_bencListAddInt( w, inf->files[i].dnd ? 0 : 1 );
|
||||||
}
|
}
|
||||||
else if( tr_streq( key, keylen, "webseeds" ) )
|
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" ) )
|
else if( tr_streq( key, keylen, "webseedsSendingToUs" ) )
|
||||||
tr_bencDictAddInt( d, key, st->webseedsSendingToUs );
|
tr_bencDictAddInt( d, key, st->webseedsSendingToUs );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue