Ignore:
Timestamp:
Apr 10, 2009, 5:34:25 PM (13 years ago)
Author:
charles
Message:

(1.5x libT) various backports for 1.52:
(1) recognize Aria2 as a client
(2) remove jhujhiti's tr_suspectAddress(), since he removed it from trunka
(3) on Mac, better detection of where the Web UI files are located
(4) reintroduce the web task queue
(5) various minor formatting changes to reduce the diffs between 1.52 and trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.5x/libtransmission/peer-mgr.c

    r7949 r8204  
    14561456    for( i = 0 ; i < n ; i++ ) {
    14571457        memcpy( &pex[i].addr, walk, sizeof( tr_address ) );
    1458         tr_suspectAddress( &pex[i].addr, "tracker"  );
    14591458        memcpy( &pex[i].port, walk + sizeof( tr_address ), 2 );
    14601459        pex[i].flags = 0x00;
     
    18301829        const struct peer_atom * atom = getExistingAtom( t, &peer->addr );
    18311830        tr_peer_stat *           stat = ret + i;
    1832         tr_address               norm_addr;
    1833 
    1834         norm_addr = peer->addr;
    1835         tr_normalizeV4Mapped( &norm_addr );
    1836         tr_ntop( &norm_addr, stat->addr, sizeof( stat->addr ) );
     1831
     1832        tr_ntop( &peer->addr, stat->addr, sizeof( stat->addr ) );
    18371833        tr_strlcpy( stat->client, ( peer->client ? peer->client : "" ),
    18381834                   sizeof( stat->client ) );
Note: See TracChangeset for help on using the changeset viewer.