freebsd-ports/net-p2p/torrentsniff/files/patch-torrentsniff
Pav Lucistnik ee3e9393b0 Add torrentsniff, a commandline tool to display information
about a torrent like file names and a number of seeds and peers.

PR:		ports/54272 (based on)
Approved by:	adamw (mentor)
2003-11-14 22:49:14 +00:00

11 lines
353 B
Text

--- torrentsniff.orig Fri Nov 14 18:17:20 2003
+++ torrentsniff Fri Nov 14 18:27:24 2003
@@ -115,7 +115,7 @@
my($file, $report_file_info, $report_tracker_info) = @_;
print "$file\n";
local *TOR;
- if( not open(TOR, "<", $file) ) {
+ if( not open(TOR, "< $file") ) {
print STDERR "Unable to read $file because of $!\n";
return 0;
}