mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
(trunk libT) #4571 "can't edit UDP trackers via RPC" -- fixed.
This commit is contained in:
@@ -982,7 +982,7 @@ replaceTrackers( tr_torrent * tor, tr_benc * urls )
|
||||
|
||||
if( tr_bencGetInt( pair[0], &pos )
|
||||
&& tr_bencGetStr( pair[1], &newval )
|
||||
&& tr_urlIsValid( newval, -1 )
|
||||
&& tr_urlIsValidTracker( newval )
|
||||
&& pos < n
|
||||
&& pos >= 0 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user