(trunk) #2802, #2716, #2717 -- remember magnet links and their settings between sessions, and allow their trackers to be modified

This commit is contained in:
Charles Kerr
2010-02-02 22:45:22 +00:00
parent b9e8624b3c
commit 36d97610bd
16 changed files with 324 additions and 221 deletions

View File

@@ -381,7 +381,7 @@ main( int argc,
if( fileContents != NULL ) {
tr_ctorSetMetainfo( ctor, fileContents, fileLength );
} else if( !memcmp( torrentPath, "magnet:?", 8 ) ) {
tr_ctorSetMagnet( ctor, torrentPath );
tr_ctorSetMetainfoFromMagnetLink( ctor, torrentPath );
} else if( !memcmp( torrentPath, "http", 4 ) ) {
tr_webRun( h, torrentPath, NULL, onTorrentFileDownloaded, ctor );
waitingOnWeb = TRUE;