diff --git a/src/FtpNegotiationCommand.cc b/src/FtpNegotiationCommand.cc index 1655a775..09e4d1d1 100644 --- a/src/FtpNegotiationCommand.cc +++ b/src/FtpNegotiationCommand.cc @@ -101,6 +101,7 @@ FtpNegotiationCommand::FtpNegotiationCommand if(seq == SEQ_RECV_GREETING) { setTimeout(getOption()->getAsInt(PREF_CONNECT_TIMEOUT)); } + setWriteCheckSocket(getSocket()); } FtpNegotiationCommand::~FtpNegotiationCommand() {}