1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 16:52:39 +00:00

add BTG to clients

This commit is contained in:
Mitchell Livingston 2007-03-14 02:08:40 +00:00
parent 494ca91fd6
commit aa1705226c
2 changed files with 6 additions and 1 deletions

View file

@ -148,6 +148,11 @@ char * tr_clientForId( uint8_t * id )
{
asprintf( &ret, "Arctic Torrent" );
}
else if( !memcmp( &id[1], "BG", 2 ) )
{
asprintf( &ret, "BTG %c.%c.%c.%c",
id[3], id[4], id[5], id[6] );
}
if( ret )
{

View file

@ -136,7 +136,7 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy
{
if ((self = [super init]))
{
fLib = tr_init( "macosx" );
fLib = tr_init("macosx");
fTorrents = [[NSMutableArray alloc] initWithCapacity: 10];
fDisplayedTorrents = [[NSMutableArray alloc] initWithCapacity: 10];