]> granicus.if.org Git - transmission/commitdiff
#5104 Unknown client -MG21r0-
authorMitchell Livingston <livings124@transmissionbt.com>
Thu, 25 Oct 2012 03:22:41 +0000 (03:22 +0000)
committerMitchell Livingston <livings124@transmissionbt.com>
Thu, 25 Oct 2012 03:22:41 +0000 (03:22 +0000)
libtransmission/clients.c

index aed5150c99be5729b9b3f59d83935d3d8eaedeec..0536110c02d3cf5d6c47860093f0f53dae567515 100644 (file)
@@ -299,6 +299,10 @@ tr_clientForId( char * buf, size_t buflen, const void * id_in )
             else if( !memcmp( &id[4], "A0C", 3 ) ) tr_snprintf( buf, buflen, "Bits on Wheels 1.0.6" );
             else                                   tr_snprintf( buf, buflen, "Bits on Wheels %c.%c.%c", id[4], id[5], id[5] );
         }
+        else if( !memcmp( id+1, "MG", 2 ) )
+        {
+            tr_snprintf( buf, buflen, "MediaGet %d.%02d", charint(id[3]), charint(id[4]) );
+        }
 
         if( *buf )
             return;