1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-03-09 13:50:00 +00:00

patch from SWE to display the correct # of peers connected

This commit is contained in:
Mitchell Livingston 2008-01-07 04:28:36 +00:00
parent a88af6a758
commit efd3910b09

View file

@ -839,7 +839,7 @@ ipc_addstat( benc_val_t * list, int tor,
st->peersFrom[TR_PEER_FROM_PEX] ); st->peersFrom[TR_PEER_FROM_PEX] );
break; break;
case IPC_ST_PEERTOTAL: case IPC_ST_PEERTOTAL:
tr_bencInitInt( item, st->peersKnown ); tr_bencInitInt( item, st->peersConnected );
break; break;
case IPC_ST_PEERUP: case IPC_ST_PEERUP:
tr_bencInitInt( item, st->peersGettingFromUs ); tr_bencInitInt( item, st->peersGettingFromUs );