Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

remove duplicate listener

  • Loading branch information...
commit 57ab68c00e68fb5c12d985cafb1b5d2d95b0d94f 1 parent debaa61
Alan Szlosek Jr authored

Showing 1 changed file with 0 additions and 6 deletions. Show diff stats Hide diff stats

  1. +0 6 ftpd.js
6 ftpd.js
@@ -412,12 +412,6 @@ function createServer(host, sandbox) {
412 412 logIf(1, "Passive data event: connect", socket);
413 413 // Once we have a completed data connection, make note of it
414 414 socket.dataSocket = psocket;
415   - // nah, there may be several of these
416   - });
417   - psocket.on("connect", function() {
418   - logIf(1, "Passive data event: connect", socket);
419   - // Once we have a completed data connection, make note of it
420   - socket.dataSocket = psocket;
421 415 // 150 should be sent before we send data on the data connection
422 416 //socket.write("150 Connection Accepted\r\n");
423 417 socket.resume();

0 comments on commit 57ab68c

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