next should be callback. fixes #15

This commit is contained in:
Mathias Buus 2014-04-09 17:56:34 +02:00
parent d3428dde9b
commit 847b15462b

View file

@ -47,7 +47,7 @@ extract.on('entry', function(header, stream, callback) {
stream.resume(); // just auto drain the stream
stream.on('end', function() {
next(); // ready for next entry
callback(); // ready for next entry
});
});