Changeset 2309


Ignore:
Timestamp:
Jul 9, 2007, 5:40:35 AM (15 years ago)
Author:
charles
Message:

give the nightlies a peer id of 0079, to differentiate between the previous stable release (0072) and the next one (0080)

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/transmission.c

    r2305 r2309  
    3434{
    3535    tr_handle_t * h;
    36     int           i, r;
     36    int           i;
    3737
    3838    tr_msgInit();
     
    5555       characters, where xx is the major version number, y is the
    5656       minor version number, and z is the maintenance number (Azureus-style) */
    57     snprintf( h->id, sizeof h->id, "-TR%06d-", VERSION_REVISION );
    58 
    59     for( i = 10; i < TR_ID_LEN; i++ )
     57    snprintf( h->id, sizeof h->id, "-TR%02d%01d%01d-",
     58              VERSION_MAJOR, VERSION_MINOR, VERSION_MAINTENANCE );
     59    for( i=8; i<TR_ID_LEN; ++i )
    6060    {
    61         r        = tr_rand( 36 );
     61        const int r = tr_rand( 36 );
    6262        h->id[i] = ( r < 26 ) ? ( 'a' + r ) : ( '0' + r - 26 ) ;
    6363    }
     
    6565
    6666    /* Random key */
    67     for( i = 0; i < TR_KEY_LEN; i++ )
     67    for( i=0; i < TR_KEY_LEN; ++i )
    6868    {
    69         r        = tr_rand( 36 );
     69        const int r = tr_rand( 36 );
    7070        h->key[i] = ( r < 26 ) ? ( 'a' + r ) : ( '0' + r - 26 ) ;
    7171    }
    7272
    7373    /* Azureus identity */
    74     for( i = 0; i < TR_AZ_ID_LEN; i++ )
     74    for( i=0; i < TR_AZ_ID_LEN; ++i )
    7575    {
    7676        h->azId[i] = tr_rand( 0xff );
  • trunk/version.sh

    r1819 r2309  
    55MAJOR=0
    66MINOR=7
    7 MAINT=2
     7MAINT=9
    88STRING=0.80-svn
    99
Note: See TracChangeset for help on using the changeset viewer.