From ad3125f6b1994c191b8b2d95653d8e003a8d8adc Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Wed, 20 Dec 2006 17:26:32 +0000 Subject: [PATCH] add client FlashGet --- libtransmission/clients.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libtransmission/clients.c b/libtransmission/clients.c index e7a12edc3..a483e3ad1 100644 --- a/libtransmission/clients.c +++ b/libtransmission/clients.c @@ -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],