Ignore:
Timestamp:
Aug 14, 2006, 10:27:34 PM (15 years ago)
Author:
livings124
Message:

Lock and unlock while accessing peers in libtransmission.
Handle lack of client id in clients.h rather than the gui.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/clients.c

    r770 r772  
    8888    if( !ret )
    8989    {
    90         asprintf( &ret, "unknown client (%c%c%c%c%c%c%c%c)",
     90        if (id[0] != 0)
     91            asprintf( &ret, "unknown client (%c%c%c%c%c%c%c%c)",
    9192                  id[0], id[1], id[2], id[3], id[4], id[5], id[6], id[7] );
     93        else
     94            asprintf( &ret, "unknown client" );
    9295    }
    9396
Note: See TracChangeset for help on using the changeset viewer.