Ticket #4908: udp-scrape.patch

File udp-scrape.patch, 414 bytes (added by rb07, 10 years ago)

Enables scrape with UDP trackers.

  • libtransmission/metainfo.c

     
    268268        *walk++ = '\0';
    269269        assert( walk - scrape == (int)alloc_len );
    270270    }
     271    else if ( !strncmp( announce, "udp:", 4) )
     272        scrape = tr_strdup( announce );
    271273
    272274    return scrape;
    273275}