From 594d887a3622ab16a6f1a78fd7c32d2c74ff3fcf Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Sat, 23 Dec 2006 20:34:45 +0000 Subject: [PATCH] move arctic to the azureus-style section --- libtransmission/clients.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libtransmission/clients.c b/libtransmission/clients.c index 8afd6faba..920591946 100644 --- a/libtransmission/clients.c +++ b/libtransmission/clients.c @@ -126,6 +126,10 @@ char * tr_clientForId( uint8_t * id ) charToInt( id[3] ) * 10 + charToInt( id[4] ), id[5], id[6] ); } + else if( !memcmp( &id[1], "AR", 2 ) ) + { + asprintf( &ret, "Arctic Torrent" ); + } if( ret ) { @@ -222,10 +226,6 @@ char * tr_clientForId( uint8_t * id ) { asprintf( &ret, "Limewire (%c%c%c%c)", id[4], id[5], id[6], id[7] ); } - else if( !memcmp( id, "-AR", 3 ) ) - { - asprintf( &ret, "Arctic Torrent" ); - } else if( !memcmp( id, "-G3", 3 ) ) { asprintf( &ret, "G3 Torrent" );