Ignore:
Timestamp:
Apr 29, 2008, 4:57:16 PM (14 years ago)
Author:
charles
Message:

#905: update peer_id client lists. add a dozen or so new clients from Azureus (thanks amc1!)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/handshake.c

    r5689 r5723  
    666666readPeerId( tr_handshake * handshake, struct evbuffer * inbuf )
    667667{
    668     char * client;
    669668    int peerIsGood;
     669    char client[128];
    670670
    671671    if( EVBUFFER_LENGTH(inbuf) < PEER_ID_LEN )
     
    676676    tr_peerIoSetPeersId( handshake->io, handshake->peer_id );
    677677    handshake->havePeerID = TRUE;
    678     client = tr_clientForId( handshake->peer_id );
     678    tr_clientForId( client, sizeof( client ), handshake->peer_id );
    679679    dbgmsg( handshake, "peer-id is [%s] ... isIncoming is %d", client, tr_peerIoIsIncoming( handshake->io ) );
    680     tr_free( client );
    681680
    682681    /* if we've somehow connected to ourselves, don't keep the connection */
Note: See TracChangeset for help on using the changeset viewer.