Changeset 780 for trunk/libtransmission


Ignore:
Timestamp:
Aug 15, 2006, 12:59:44 AM (15 years ago)
Author:
livings124
Message:

Check for connected peers, as well as better peer table resizing behavior.

Location:
trunk/libtransmission
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/transmission.c

    r774 r780  
    507507                           sizeof( peers[i].addr ) );
    508508            }
     509           
    509510            peers[i].client = tr_clientForId(tr_peerId(peer));
     511           
     512            peers[i].isConnected = tr_peerIsConnected(peer);
    510513            peers[i].isDownloading = tr_peerIsDownloading(peer);
    511514            peers[i].isUploading = tr_peerIsUploading(peer);
  • trunk/libtransmission/transmission.h

    r774 r780  
    329329    char *  client;
    330330   
     331    int     isConnected;
    331332    int     isDownloading;
    332333    int     isUploading;
Note: See TracChangeset for help on using the changeset viewer.