]> granicus.if.org Git - transmission/commitdiff
add yet another BitSpirit peer id
authorMitchell Livingston <livings124@transmissionbt.com>
Mon, 16 Nov 2009 23:14:47 +0000 (23:14 +0000)
committerMitchell Livingston <livings124@transmissionbt.com>
Mon, 16 Nov 2009 23:14:47 +0000 (23:14 +0000)
libtransmission/clients.c

index 05ce7b20a2687c9c383667b174e2fa79b456f625..7259777fd8178549f1aa7d1ddec6285a9f9397d4 100644 (file)
@@ -369,6 +369,10 @@ tr_clientForId( char * buf, size_t buflen, const void * id_in )
     {
         tr_snprintf( buf, buflen, "Blizzard Downloader %d.%d", id[3]+1, id[4] );
     }
+    else if( !memcmp( id, "-SP", 3 ) )
+    {
+        three_digits( buf, buflen, "BitSpirit", id+3 );
+    }
     else if( '\0' == id[0] && !memcmp( &id[1], "BS", 2 ) )
     {
         tr_snprintf( buf, buflen, "BitSpirit %u", ( id[1] == 0 ? 1 : id[1] ) );