1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 01:27:28 +00:00

add bitrocket to the client id's (you have to acknowledge the competition...)

This commit is contained in:
Mitchell Livingston 2006-09-07 21:42:41 +00:00
parent ea7759913d
commit 8aeb2fba5a

View file

@ -67,6 +67,11 @@ char * tr_clientForId( uint8_t * id )
asprintf( &ret, "Bits on Wheels (%c%c)", asprintf( &ret, "Bits on Wheels (%c%c)",
id[5], id[6] ); id[5], id[6] );
} }
else if( !memcmp( &id[1], "BR", 2 ) )
{
asprintf( &ret, "BitRocket %c.%c (%d)",
id[3], id[4], ( id[5] - '0' ) * 10 + ( id[6] - '0' ) );
}
} }
else if( !memcmp( &id[4], "----", 4 ) ) else if( !memcmp( &id[4], "----", 4 ) )
{ {