Ignore:
Timestamp:
May 20, 2012, 2:47:18 PM (9 years ago)
Author:
jordan
Message:

(trunk libT) #4908 "Handle UDP scrapes when they don't follow the /announce idiom" -- fixed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/metainfo.c

    r12848 r13311  
    269269        assert( walk - scrape == (int)alloc_len );
    270270    }
     271    /* Some torrents with UDP annouce URLs don't have /announce. */
     272    else if ( !strncmp( announce, "udp:", 4 ) )
     273    {
     274        scrape = tr_strdup( announce );
     275    }
    271276
    272277    return scrape;
Note: See TracChangeset for help on using the changeset viewer.