Changeset 1162


Ignore:
Timestamp:
Dec 6, 2006, 9:44:15 PM (15 years ago)
Author:
livings124
Message:

small oversite when no announce-list

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/multitracker/libtransmission/metainfo.c

    r1161 r1162  
    291291        if ( !tiersSet )
    292292            inf->trackerAnnounceList = calloc( sizeof( int ), 1 );
    293         announceItem = calloc( sizeof( tr_announce_list_item_t ), 1 );
     293        inf->trackerAnnounceList[0] = calloc( sizeof( tr_announce_list_item_t ), 1 );
    294294       
    295295        inf->trackerAnnounceTiers = 1;
Note: See TracChangeset for help on using the changeset viewer.