Changeset 1235


Ignore:
Timestamp:
Dec 16, 2006, 2:27:02 AM (15 years ago)
Author:
livings124
Message:

add queen bee to clients

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/clients.c

    r1230 r1235  
    126126        }
    127127    }
     128    else if( id[0] == 'Q' && id[2] == '-' && id[7] == '-' )
     129    {
     130        if( id[4] == '-' && id[6] == '-' )
     131        {
     132            asprintf( &ret, "Queen Bee %c.%c.%c", id[1], id[3], id[5] );
     133        }
     134        else if( id[5] == '-' )
     135        {
     136            asprintf( &ret, "Queen Bee %c.%c%c.%c", id[1], id[3], id[4], id[6] );
     137        }
     138    }
    128139    else if( !memcmp( id, "exbc", 4 ) )
    129140    {
Note: See TracChangeset for help on using the changeset viewer.