Ignore:
Timestamp:
Mar 31, 2007, 12:14:32 AM (15 years ago)
Author:
livings124
Message:

add CTorrent to clients

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/clients.c

    r1571 r1610  
    130130        else if( !memcmp( &id[1], "CD", 2 ) )
    131131        {
    132             asprintf( &ret, "CTorrent %d.%d",
    133                       charToInt( id[3] ) * 10 + charToInt( id[4] ),
     132            asprintf( &ret, "Enhanced CTorrent %d.%d",
     133                      charToInt( id[3] ) * 10 + charToInt( id[4] ),
     134                      charToInt( id[5] ) * 10 + charToInt( id[6] ) );
     135        }
     136                else if( !memcmp( &id[1], "CT", 2 ) )
     137        {
     138            asprintf( &ret, "CTorrent %c.%c.%d",
     139                      id[3], id[4],
    134140                      charToInt( id[5] ) * 10 + charToInt( id[6] ) );
    135141        }
Note: See TracChangeset for help on using the changeset viewer.