Ignore:
Timestamp:
Dec 4, 2008, 5:27:59 AM (12 years ago)
Author:
charles
Message:

(libT) #1557: handshake peer-id doesn't match the peer-id sent in the tracker announce

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/tracker.c

    r7238 r7266  
    10921092    if( t && !t->isRunning )
    10931093    {
     1094        tr_torrent * tor;
     1095
     1096        /* change the peer-id */
    10941097        tr_free( t->peer_id );
    10951098        t->peer_id = tr_peerIdNew( );
     1099        if(( tor = tr_torrentFindFromHash( t->session, t->hash ))) {
     1100            tr_free( tor->peer_id );
     1101            tor->peer_id = (uint8_t*) tr_strdup( t->peer_id );
     1102        }
    10961103
    10971104        t->isRunning = 1;
Note: See TracChangeset for help on using the changeset viewer.