Changeset 12191


Ignore:
Timestamp:
Mar 20, 2011, 3:42:54 PM (12 years ago)
Author:
jordan
Message:

(trunk libT) #117 "UDP tracker support" -- fix add-UDP-tracker-URL-via-RPC bug reported by johnea @ https://trac.transmissionbt.com/ticket/117#comment:79

Location:
trunk/libtransmission
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/rpcimpl.c

    r12168 r12191  
    839839
    840840        if(    tr_bencGetStr( val, &announce )
    841             && tr_urlIsValid( announce, -1 )
     841            && tr_urlIsValidTracker( announce )
    842842            && !findAnnounceUrl( trackers, n, announce, NULL ) )
    843843        {
  • trunk/libtransmission/utils.c

    r12185 r12191  
    10181018}
    10191019
    1020 /** @brief return TRUE if the url is a http or https url that Transmission understands */
     1020/** @brief return TRUE if the url is a http or https or UDP URL that Transmission understands */
    10211021tr_bool
    10221022tr_urlIsValidTracker( const char * url )
Note: See TracChangeset for help on using the changeset viewer.