Changeset 1224


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

should identify BitLord? clients according to the bittorrent specs (although it might not be completely accurate)

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/clients.c

    r1184 r1224  
    128128    else if( !memcmp( id, "exbc", 4 ) )
    129129    {
    130         asprintf( &ret, "BitComet %d.%02d", id[4], id[5] );
     130        asprintf( &ret, "%s %d.%02d", !memcmp( &id[6], "LORD", 4 ) ? "BitLord" : "BitComet", id[4], id[5] );
    131131    }
    132132    else if( !memcmp( id, "OP", 2 ) )
  • trunk/macosx/Controller.m

    r1221 r1224  
    102102        }
    103103    }
    104 
    105 
     104   
    106105    [[NSUserDefaults standardUserDefaults] registerDefaults: [NSDictionary dictionaryWithContentsOfFile:
    107106        [[NSBundle mainBundle] pathForResource: @"Defaults" ofType: @"plist"]]];
Note: See TracChangeset for help on using the changeset viewer.