(libT) #5274 '"copy magnet link to clipboard" doesn't include webseeds': fixed.

This commit is contained in:
Jordan Lee 2013-02-04 18:54:38 +00:00
parent 1a768ab06f
commit e899519a97
1 changed files with 6 additions and 0 deletions

View File

@ -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);
}