mirror of
https://github.com/transmission/transmission
synced 2024-12-25 17:17:31 +00:00
should identify BitLord clients according to the bittorrent specs (although it might not be completely accurate)
This commit is contained in:
parent
36d7fb620d
commit
3409f51ef0
2 changed files with 2 additions and 3 deletions
|
@ -127,7 +127,7 @@ char * tr_clientForId( uint8_t * id )
|
|||
}
|
||||
else if( !memcmp( id, "exbc", 4 ) )
|
||||
{
|
||||
asprintf( &ret, "BitComet %d.%02d", id[4], id[5] );
|
||||
asprintf( &ret, "%s %d.%02d", !memcmp( &id[6], "LORD", 4 ) ? "BitLord" : "BitComet", id[4], id[5] );
|
||||
}
|
||||
else if( !memcmp( id, "OP", 2 ) )
|
||||
{
|
||||
|
|
|
@ -101,8 +101,7 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy
|
|||
exit(0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
[[NSUserDefaults standardUserDefaults] registerDefaults: [NSDictionary dictionaryWithContentsOfFile:
|
||||
[[NSBundle mainBundle] pathForResource: @"Defaults" ofType: @"plist"]]];
|
||||
|
||||
|
|
Loading…
Reference in a new issue