Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

D'oh.

  • Loading branch information...
commit edda39ac241eced5ea605727e9627cd7a02ef087 1 parent 89d3f51
Sanko Robinson authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  lib/Net/BitTorrent/Storage/Node.pm
2  lib/Net/BitTorrent/Storage/Node.pm
View
@@ -64,6 +64,8 @@ package Net::BitTorrent::Storage::Node;
}
);
+ sub open { shift->_set_open_mode(shift); }
+ sub close { shift->_set_open_mode(undef); }
sub read ($$$) {
my ($self, $offset, $length) = @_;
return if !$self->open_mode;
Please sign in to comment.
Something went wrong with that request. Please try again.