From 8aeb2fba5af3f3baadab7e0fbd7f4df4177f3a60 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Thu, 7 Sep 2006 21:42:41 +0000 Subject: [PATCH] add bitrocket to the client id's (you have to acknowledge the competition...) --- libtransmission/clients.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libtransmission/clients.c b/libtransmission/clients.c index 23493f06e..a7c4c353a 100644 --- a/libtransmission/clients.c +++ b/libtransmission/clients.c @@ -67,6 +67,11 @@ char * tr_clientForId( uint8_t * id ) asprintf( &ret, "Bits on Wheels (%c%c)", 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 ) ) {