Changeset 2378


Ignore:
Timestamp:
Jul 16, 2007, 9:57:22 PM (15 years ago)
Author:
livings124
Message:

identify dev builds of transmission correctly in the peers list

Location:
trunk/libtransmission
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/clients.c

    r2372 r2378  
    5656            else
    5757            {
    58                 asprintf( &ret, "Transmission %d.%c%c",
    59                         charToInt( id[3] ) * 10 + charToInt( id[4] ),
    60                         id[5], id[6] );
     58                asprintf( &ret, "Transmission %d.%c%c%s",
     59                        charToInt( id[3] ), id[4], id[5],
     60                        id[6] == 'Z' ? " (dev)" : "" );
    6161            }
    6262        }
  • trunk/libtransmission/transmission.c

    r2374 r2378  
    2929#include "shared.h"
    3030
    31 /* Generate a peer id : "-TRxxyz-" + 12 random alphanumeric
    32    characters, where xx is the major version number, y is the
    33    minor version number, and z is the maintenance number (Azureus-style) */
     31/* Generate a peer id : "-TRxyzb-" + 12 random alphanumeric
     32   characters, where x is the major version number, y is the
     33   minor version number, z is the maintenance number, and b
     34   designates beta (Azureus-style) */
    3435void
    3536tr_peerIdNew ( char * buf, int buflen )
Note: See TracChangeset for help on using the changeset viewer.