From afe6d42ac1c670553e0867add3f261a044a13f7e Mon Sep 17 00:00:00 2001 From: Jordan Lee Date: Sun, 13 Mar 2011 07:49:32 +0000 Subject: [PATCH] (trunk gtk) when a tracker is manually added to a torrent, check the tracker's validity with tr_urlIsValidTracker() --- gtk/details.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/details.c b/gtk/details.c index e8082e0d8..3d4bbb728 100644 --- a/gtk/details.c +++ b/gtk/details.c @@ -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"