From 3d787a7e77cbbd9999eb721b4a5927f9378794c7 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Tue, 19 Dec 2006 15:23:48 +0000 Subject: [PATCH] add libtorrent to clients --- libtransmission/clients.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libtransmission/clients.c b/libtransmission/clients.c index 4cf105bfd..5001fa3b7 100644 --- a/libtransmission/clients.c +++ b/libtransmission/clients.c @@ -97,6 +97,12 @@ char * tr_clientForId( uint8_t * id ) charToInt( id[3] ), charToInt( id[4] ), charToInt( id[5] ), charToInt( id[6] ) ); } + else if( !memcmp( &id[1], "LT", 2 ) ) + { + asprintf( &ret, "libtorrent %d.%d.%d.%d", + charToInt( id[3] ), charToInt( id[4] ), + charToInt( id[5] ), charToInt( id[6] ) ); + } else if( !memcmp( &id[1], "ES", 2 ) ) { asprintf( &ret, "Electric Sheep %c.%c.%c",