From e899519a9707e58fdeac91dc1f1e8a4312422d30 Mon Sep 17 00:00:00 2001 From: Jordan Lee Date: Mon, 4 Feb 2013 18:54:38 +0000 Subject: [PATCH] (libT) #5274 '"copy magnet link to clipboard" doesn't include webseeds': fixed. --- libtransmission/torrent-magnet.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libtransmission/torrent-magnet.c b/libtransmission/torrent-magnet.c index ca2d872d9..aaa156caf 100644 --- a/libtransmission/torrent-magnet.c +++ b/libtransmission/torrent-magnet.c @@ -398,5 +398,11 @@ tr_torrentInfoGetMagnetLink (const tr_info * inf) tr_http_escape (s, inf->trackers[i].announce, -1, true); } + for (i=0; iwebseedCount; i++) + { + evbuffer_add_printf (s, "%s", "&ws="); + tr_http_escape (s, inf->webseeds[i], -1, true); + } + return evbuffer_free_to_str (s); } -- 2.40.0