1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 01:03:01 +00:00

should identify BitLord clients according to the bittorrent specs (although it might not be completely accurate)

This commit is contained in:
Mitchell Livingston 2006-12-15 05:27:51 +00:00
parent 36d7fb620d
commit 3409f51ef0
2 changed files with 2 additions and 3 deletions

View file

@ -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 ) )
{

View file

@ -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"]]];