mirror of
https://github.com/transmission/transmission
synced 2025-02-14 18:34:43 +00:00
(trunk libT) #4571 "can't edit UDP trackers via RPC" -- fixed.
This commit is contained in:
parent
d6045cba2b
commit
4d74095591
1 changed files with 1 additions and 1 deletions
|
@ -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 )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue