Skip to content

Commit

Permalink
Mainly formatting and small rewriting
Browse files Browse the repository at this point in the history
  • Loading branch information
sergi committed Aug 8, 2011
1 parent 17fa1c2 commit c17bd62
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions jsftp.js
Expand Up @@ -160,12 +160,12 @@ var Ftp = module.exports = function(cfg) {
};

/**
* `requests` receives a stream of responses from the server and filters
* `serverResponse` receives a stream of responses from the server and filters
* them before pushing them back into the stream. The filtering is
* necessary to detect multiline responses, in which several responses from
* the server belong to a single command.
*/
this.serverResponse = function requests(source) {
this.serverResponse = function(source) {
var NL = "\n";
var buffer = [];
var currentCode = 0;
Expand Down Expand Up @@ -317,8 +317,10 @@ var Ftp = module.exports = function(cfg) {
this.dataConn.destroy();

this.features = null;
this.user = null;
this.user = null;
this.password = null;
this.tasks = null;
this.cmds = null;
};


Expand Down

0 comments on commit c17bd62

Please sign in to comment.