(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

This commit is contained in:
Jordan Lee
2011-03-20 15:42:54 +00:00
parent 40defc8fb2
commit b16458e038
2 changed files with 2 additions and 2 deletions

View File

@@ -838,7 +838,7 @@ addTrackerUrls( tr_torrent * tor, tr_benc * urls )
const char * announce = NULL;
if( tr_bencGetStr( val, &announce )
&& tr_urlIsValid( announce, -1 )
&& tr_urlIsValidTracker( announce )
&& !findAnnounceUrl( trackers, n, announce, NULL ) )
{
trackers[n].tier = ++tier; /* add a new tier */