=================================================================== RCS file: /cvs/openbsd/OpenBSDTorrents/CurrentTorrents.pl,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- openbsd/OpenBSDTorrents/CurrentTorrents.pl 2005/05/05 22:52:45 1.17 +++ openbsd/OpenBSDTorrents/CurrentTorrents.pl 2005/05/06 21:02:47 1.18 @@ -1,5 +1,5 @@ #!/usr/bin/perl -T -#$Id: CurrentTorrents.pl,v 1.17 2005/05/05 21:52:45 andrew Exp $ +#$Id: CurrentTorrents.pl,v 1.18 2005/05/06 20:02:47 andrew Exp $ use strict; use warnings; use diagnostics; @@ -89,7 +89,15 @@ } my $t; - eval { $t = BT::MetaInfo::Cached->new( $torrent ); }; + eval { + $t = BT::MetaInfo::Cached->new( + $torrent, + { + cache_root => + $OBT->{DIR_HOME} . '/FileCache' + } + ); + }; if ($@) { warn "Error reading torrent $torrent\n";