mirror of
https://github.com/transmission/transmission
synced 2024-12-25 17:17:31 +00:00
Better BitTorrent client identification.
This commit is contained in:
parent
cc242002a1
commit
f6cd9ef67f
3 changed files with 7 additions and 1 deletions
|
@ -85,6 +85,12 @@ char * tr_clientForId( uint8_t * id )
|
|||
{
|
||||
asprintf( &ret, "BitTorrent %c.%c.%c", id[1], id[3], id[5] );
|
||||
}
|
||||
|
||||
else if( id[0] == 'M' && id[2] == '-' &&
|
||||
id[5] == '-' && id[7] == '-' )
|
||||
{
|
||||
asprintf( &ret, "BitTorrent %c.%c%c.%c", id[1], id[3], id[4], id[6] );
|
||||
}
|
||||
else if( !memcmp( id, "exbc", 4 ) )
|
||||
{
|
||||
asprintf( &ret, "BitComet %d.%02d", id[4], id[5] );
|
||||
|
|
|
@ -917,7 +917,7 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy
|
|||
? fSpeedLimitBlueImage : fSpeedLimitGraphiteImage];
|
||||
}
|
||||
|
||||
- (void) updateUI: (NSTimer *) t
|
||||
- (void) updateUI: (NSTimer *) timer
|
||||
{
|
||||
[fTorrents makeObjectsPerformSelector: @selector(update)];
|
||||
|
||||
|
|
BIN
macosx/English.lproj/InfoWindow.nib/keyedobjects.nib
generated
BIN
macosx/English.lproj/InfoWindow.nib/keyedobjects.nib
generated
Binary file not shown.
Loading…
Reference in a new issue