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

add client FlashGet

This commit is contained in:
Mitchell Livingston 2006-12-20 17:26:32 +00:00
parent 9c87aad53c
commit ad3125f6b1

View file

@ -191,6 +191,12 @@ 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, "-FG", 3 ) )
{
asprintf( &ret, "FlashGet %d.%c%c",
charToInt( id[3] ) * 10 + charToInt( id[4] ),
id[5], id[6] );
}
else if( !memcmp( id, "XBT", 3 ) )
{
asprintf( &ret, "XBT Client %c%c%c%s", id[3], id[4], id[5],