=================================================================== RCS file: /cvs/openbsd/OpenBSDTorrents/ServerTorrents.pl,v retrieving revision 1.10 retrieving revision 1.12 diff -u -r1.10 -r1.12 --- openbsd/OpenBSDTorrents/ServerTorrents.pl 2005/04/07 00:05:28 1.10 +++ openbsd/OpenBSDTorrents/ServerTorrents.pl 2005/05/02 21:28:37 1.12 @@ -1,15 +1,15 @@ #!/usr/bin/perl -T -#$Id: ServerTorrents.pl,v 1.10 2005/04/06 23:05:28 andrew Exp $ +#$Id: ServerTorrents.pl,v 1.12 2005/05/02 20:28:37 andrew Exp $ use strict; use warnings; use diagnostics; -use BT::MetaInfo; use LWP::UserAgent; use Time::Local; use lib 'lib'; use OpenBSDTorrents; +use BT::OBTMetaInfo; %ENV = (); @@ -117,7 +117,7 @@ print "Uploading $file\n"; my $t; - eval { $t = BT::MetaInfo->new("$OBT->{DIR_TORRENT}/$file"); }; + eval { $t = BT::OBTMetaInfo->new("$OBT->{DIR_TORRENT}/$file"); }; if ($@) { warn "Error reading torrent $file\n"; return undef;