Ignore:
Timestamp:
Aug 16, 2006, 1:52:20 AM (15 years ago)
Author:
livings124
Message:

Better BitTorrent? client identification.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/clients.c

    r775 r787  
    8686        asprintf( &ret, "BitTorrent %c.%c.%c", id[1], id[3], id[5] );
    8787    }
     88   
     89    else if( id[0] == 'M' && id[2] == '-' &&
     90             id[5] == '-' && id[7] == '-' )
     91    {
     92        asprintf( &ret, "BitTorrent %c.%c%c.%c", id[1], id[3], id[4], id[6] );
     93    }
    8894    else if( !memcmp( id, "exbc", 4 ) )
    8995    {
Note: See TracChangeset for help on using the changeset viewer.