Skip to content

Commit

Permalink
Invalid order of arguments was fixed in RequestStream's _onError method.
Browse files Browse the repository at this point in the history
  • Loading branch information
WoZ committed Jul 5, 2013
1 parent 6e40139 commit 8a283e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/spooky/request-stream.js
Expand Up @@ -32,7 +32,7 @@ RequestStream.prototype.write = function write(packet, callback) {
return true;
};

RequestStream.prototype._onError = function onError(error, callback) {
RequestStream.prototype._onError = function onError(callback, error) {
if (callback) {
callback(error);
}
Expand Down

0 comments on commit 8a283e4

Please sign in to comment.