Permalink
Browse files

Merge branch 'master' of github.com:soldair/node-repipe

  • Loading branch information...
2 parents d6f9392 + ccfea58 commit dcfeed64aa6a35e726983333be756ac4dd8b9ba7 @soldair committed Feb 25, 2014
Showing with 3 additions and 1 deletion.
  1. +3 −1 README.md
View
4 README.md
@@ -19,7 +19,9 @@ repipe(s,function(err,last,done){
if(err && err.message != "unexpected disconnection") return done(err);
// its the first stream or the stream was cut off before it emitted the end event
// start the new read stream from where it left off..
- done(false,multilevel.createReadStream({start:last});
+ var key;
+ if(last) key = last.key+"\x00";
+ done(false,multilevel.createReadStream({start:key});
});
s.on('data',function(data){

0 comments on commit dcfeed6

Please sign in to comment.