From e5b24d929ef96617ce8045a1931f97c82c5b9f09 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Mon, 8 Jan 2007 04:41:18 +0000 Subject: [PATCH] add bittyrant to client id's --- libtransmission/clients.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libtransmission/clients.c b/libtransmission/clients.c index dd6aeb36a..28217294c 100644 --- a/libtransmission/clients.c +++ b/libtransmission/clients.c @@ -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",