mirror of
https://github.com/transmission/transmission
synced 2025-03-11 14:43:42 +00:00
(libT) #5274 '"copy magnet link to clipboard" doesn't include webseeds': fixed.
This commit is contained in:
parent
1a768ab06f
commit
e899519a97
1 changed files with 6 additions and 0 deletions
|
@ -398,5 +398,11 @@ tr_torrentInfoGetMagnetLink (const tr_info * inf)
|
|||
tr_http_escape (s, inf->trackers[i].announce, -1, true);
|
||||
}
|
||||
|
||||
for (i=0; i<inf->webseedCount; i++)
|
||||
{
|
||||
evbuffer_add_printf (s, "%s", "&ws=");
|
||||
tr_http_escape (s, inf->webseeds[i], -1, true);
|
||||
}
|
||||
|
||||
return evbuffer_free_to_str (s);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue