Skip to content
Browse files

Merge pull request #176 from svnlto/master

fixing scope issue in incoming_forms
  • Loading branch information...
2 parents a3d7402 + fcdbbb6 commit 9c42c75adaa4da99f98847e1cb671f537131a6d9 @svnlto svnlto committed Oct 12, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/incoming_form.js
View
3 lib/incoming_form.js
@@ -33,6 +33,8 @@ function IncomingForm(opts) {
this._parser = null;
this._flushing = 0;
this._fieldsSize = 0;
+ this.openedFiles = [];
+
return this;
};
util.inherits(IncomingForm, EventEmitter);
@@ -89,7 +91,6 @@ IncomingForm.prototype.parse = function(req, cb) {
};
this.writeHeaders(req.headers);
- this.openedFiles = [];
var self = this;
req

0 comments on commit 9c42c75

Please sign in to comment.
Something went wrong with that request. Please try again.