]> granicus.if.org Git - transmission/commitdiff
(trunk, libT) #5069 'webseed magnet support is broken' reported & patch by cfpp2p
authorJordan Lee <jordan@transmissionbt.com>
Fri, 5 Oct 2012 16:44:36 +0000 (16:44 +0000)
committerJordan Lee <jordan@transmissionbt.com>
Fri, 5 Oct 2012 16:44:36 +0000 (16:44 +0000)
libtransmission/metainfo.c

index aab3aa2e65655aefbdec224f40fd0d8049b6732b..cff10c03b28eb2f781563450c59a17ec161f5de8 100644 (file)
@@ -564,7 +564,8 @@ tr_metainfoParseImpl( const tr_session  * session,
         return str;
 
     /* get the url-list */
-    geturllist( inf, meta );
+    if( !isMagnet )
+        geturllist( inf, meta );
 
     /* filename of Transmission's copy */
     tr_free( inf->torrent );