From 217da21bb80b65ab73e4616c900791d13effd994 Mon Sep 17 00:00:00 2001 From: Jordan Lee Date: Sat, 7 Apr 2012 00:33:05 +0000 Subject: [PATCH] add #4846 'Show magnet links in torrent info in transmission-remote -i' from a patch by eSyr --- daemon/remote.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/daemon/remote.c b/daemon/remote.c index de5591a34..31e0210a9 100644 --- a/daemon/remote.c +++ b/daemon/remote.c @@ -676,6 +676,7 @@ static const char * details_keys[] = { "isFinished", "isPrivate", "leftUntilDone", + "magnetLink", "name", "peersConnected", "peersGettingFromUs", @@ -857,6 +858,8 @@ printDetails( tr_benc * top ) printf( " Name: %s\n", str ); if( tr_bencDictFindStr( t, "hashString", &str ) ) printf( " Hash: %s\n", str ); + if( tr_bencDictFindStr( t, "magnetLink", &str ) ) + printf( " Magnet: %s\n", str ); printf( "\n" ); printf( "TRANSFER\n" ); -- 2.40.0