Ticket #5770: magnet-Environment-Variable.patch
File magnet-Environment-Variable.patch, 593 bytes (added by basecase, 7 years ago) |
---|
-
libtransmission/torrent.c
2110 2110 tr_strdup_printf ("TR_TORRENT_ID=%d", tr_torrentId (tor)), 2111 2111 tr_strdup_printf ("TR_TORRENT_HASH=%s", tor->info.hashString), 2112 2112 tr_strdup_printf ("TR_TORRENT_NAME=%s", tr_torrentName (tor)), 2113 tr_strdup_printf ("TR_TORRENT_MAGNETLINK=%s", tr_tr_torrentGetMagnetLink(tor)), 2113 2114 NULL }; 2114 2115 2115 2116 tr_logAddTorInfo (tor, "Calling script \"%s\"", script);