Skip to content
This repository has been archived by the owner on Mar 11, 2018. It is now read-only.

Commit

Permalink
re-refixed stream
Browse files Browse the repository at this point in the history
  • Loading branch information
Andris Reinman committed Apr 16, 2012
1 parent dd12f1d commit aa428ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/urlfetch.js
@@ -1,7 +1,7 @@
var http = require("http"),
https = require("https"),
urllib = require("url"),
Stream = require('stream');
Stream = require('stream').Stream;

/**
* @namespace URLFetch
Expand Down Expand Up @@ -31,7 +31,7 @@ function openUrlStream(url, options){
}
},
client = (urlparts.protocol=="https:"?https:http),
stream = new Stream.Stream,
stream = new Stream(),
request;

stream.resume = function(){};
Expand Down

0 comments on commit aa428ce

Please sign in to comment.