From 912050816720ad6a0210a8efac7e79c2109296ff Mon Sep 17 00:00:00 2001 From: Josh Elsasser Date: Sun, 15 Jul 2007 05:13:35 +0000 Subject: [PATCH] According to azureus, bitspirit v0 is really v1. --- libtransmission/clients.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtransmission/clients.c b/libtransmission/clients.c index 59a537ebd..5c60e80ca 100644 --- a/libtransmission/clients.c +++ b/libtransmission/clients.c @@ -366,7 +366,7 @@ char * tr_clientForId( uint8_t * id ) } else if( '\0' == id[0] && 'B' == id[2] && 'S' == id[3] ) { - asprintf( &ret, "BitSpirit v%u", id[1] ); + asprintf( &ret, "BitSpirit v%u", ( 0 == id[1] ? 1 : id[1] ) ); } /* No match */