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

add bittyrant to client id's

This commit is contained in:
Mitchell Livingston 2007-01-08 04:41:18 +00:00
parent 3dc7c6899f
commit e5b24d929e

View file

@ -207,6 +207,11 @@ char * tr_clientForId( uint8_t * id )
asprintf( &ret, "MLDonkey %c%c%c%c%c",
id[3], id[4], id[5], id[6], id[7] );
}
else if( !memcmp( id, "AZ", 2 ) && !memcmp( &id[6], "BT", 2 ) )
{
asprintf( &ret, "BitTyrant (%c.%c.%c.%c)",
id[2], id[3], id[4], id[5] );
}
else if( !memcmp( id, "-FG", 3 ) )
{
asprintf( &ret, "FlashGet %d.%c%c",