Changeset 787


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

Better BitTorrent? client identification.

Location:
trunk
Files:
3 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    {
  • trunk/macosx/Controller.m

    r757 r787  
    918918}
    919919
    920 - (void) updateUI: (NSTimer *) t
     920- (void) updateUI: (NSTimer *) timer
    921921{
    922922    [fTorrents makeObjectsPerformSelector: @selector(update)];
Note: See TracChangeset for help on using the changeset viewer.