mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
add client FlashGet
This commit is contained in:
parent
9c87aad53c
commit
ad3125f6b1
1 changed files with 6 additions and 0 deletions
|
@ -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],
|
||||
|
|
Loading…
Reference in a new issue