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
+5
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 )
{
+1 -1
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];