Skip to content

Commit

Permalink
[fix] woops
Browse files Browse the repository at this point in the history
  • Loading branch information
yawnt committed Aug 9, 2013
1 parent 2e7343d commit bd3df45
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/caronte/streams/proxy.js
Expand Up @@ -12,6 +12,8 @@ function ProxyStream() {
this.once('finish', function() { self.onFinish(); });
}

require('util').inherits(ProxyStream, Duplex);

ProxyStream.prototype.onPipe = function(request) {
var self = this;

Expand Down Expand Up @@ -43,4 +45,3 @@ ProxyStream.prototype._read = function(size) {
this.push(chunk);
};

require('util').inherits(ForwardStream, Duplex);

0 comments on commit bd3df45

Please sign in to comment.