1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 01:03:01 +00:00

(trunk gtk) when a tracker is manually added to a torrent, check the tracker's validity with tr_urlIsValidTracker()

This commit is contained in:
Jordan Lee 2011-03-13 07:49:32 +00:00
parent 2cca699f06
commit afe6d42ac1

View file

@ -2264,7 +2264,7 @@ on_add_tracker_response( GtkDialog * dialog, int response, gpointer gdi )
if( url && *url )
{
if( gtr_is_supported_url( url ) )
if( tr_urlIsValidTracker( url ) )
{
char * json = g_strdup_printf(
"{\n"