[BACK]Return to ServerTorrents.pl CVS log [TXT][DIR] Up to [local] / openbsd / OpenBSDTorrents

Diff for /openbsd/OpenBSDTorrents/ServerTorrents.pl between version 1.14 and 1.15

version 1.14, 2005/05/05 21:33:42 version 1.15, 2005/05/06 21:05:00
Line 117 
Line 117 
         print "Uploading $file\n";          print "Uploading $file\n";
   
         my $t;          my $t;
         eval { $t = BT::MetaInfo::Cached->new("$OBT->{DIR_TORRENT}/$file"); };          eval {
                   $t = BT::MetaInfo::Cached->new(
                           $torrent,
                           {
                                   cache_root =>
                                   $OBT->{DIR_HOME} . '/FileCache'
                           }
                   );
           };
   
         if ($@) {          if ($@) {
                 warn "Error reading torrent $file\n";                  warn "Error reading torrent $file\n";
                 return undef;                  return undef;

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>