Changeset 9568


Ignore:
Timestamp:
Nov 25, 2009, 5:13:58 AM (12 years ago)
Author:
charles
Message:

(trunk libT) #2110: "allow adding torrent files with no trackers" -- tr_torrentParse() shouldn't fail just because there aren't any announce URLs in the metadata

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/metainfo.c

    r9554 r9568  
    259259
    260260static const char*
    261 getannounce( tr_info * inf,
    262              tr_benc * meta )
     261getannounce( tr_info * inf, tr_benc * meta )
    263262{
    264263    const char *      str;
     
    335334    inf->trackerCount = trackerCount;
    336335
    337     return inf->trackerCount ? NULL : "announce";
     336    return NULL;
    338337}
    339338
Note: See TracChangeset for help on using the changeset viewer.