diff options
Diffstat (limited to 'net-p2p/torrentsniff/files/patch-torrentsniff')
-rw-r--r-- | net-p2p/torrentsniff/files/patch-torrentsniff | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/net-p2p/torrentsniff/files/patch-torrentsniff b/net-p2p/torrentsniff/files/patch-torrentsniff index 03062bb7be8e..6c14566c0ed9 100644 --- a/net-p2p/torrentsniff/files/patch-torrentsniff +++ b/net-p2p/torrentsniff/files/patch-torrentsniff @@ -1,11 +1,11 @@ ---- 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;
- }
+--- torrentsniff.orig 2016-06-20 14:38:26 UTC ++++ torrentsniff +@@ -115,7 +115,7 @@ sub process_file { + 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; + } |