Changeset 1225


Ignore:
Timestamp:
Dec 15, 2006, 5:39:06 AM (15 years ago)
Author:
livings124
Message:

xbt client

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/clients.c

    r1224 r1225  
    128128    else if( !memcmp( id, "exbc", 4 ) )
    129129    {
    130         asprintf( &ret, "%s %d.%02d", !memcmp( &id[6], "LORD", 4 ) ? "BitLord" : "BitComet", id[4], id[5] );
     130        asprintf( &ret, "%s %d.%02d",
     131                    !memcmp( &id[6], "LORD", 4 ) ? "BitLord" : "BitComet",
     132                    id[4], id[5] );
    131133    }
    132134    else if( !memcmp( id, "OP", 2 ) )
     
    138140        asprintf( &ret, "MLDonkey %c%c%c%c%c",
    139141                  id[3], id[4], id[5], id[6], id[7] );
     142    }
     143    else if( !memcmp( id, "XBT", 3 ) )
     144    {
     145        asprintf( &ret, "XBT Client %c%c%c%s",
     146                  id[3], id[4], id[5],
     147                  id[6] == 'd' ? " (debug)" : "" );
    140148    }
    141149
Note: See TracChangeset for help on using the changeset viewer.