diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2011-08-11 23:30:09 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2011-08-11 23:30:09 +0200 |
commit | f5a34606b4a910e7b7b984940fb2d12681a2dd3b (patch) | |
tree | f045b545dec217546f74bf21c274db4f747ddee0 /methods/ftp.cc | |
parent | 1842a17db2ecebaf7b19de574cb4cd87c687202c (diff) |
follow the recommendation of cppcheck to make some method methods (scnr)
const and initial mostly Debug member values in the constructors
Diffstat (limited to 'methods/ftp.cc')
-rw-r--r-- | methods/ftp.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/methods/ftp.cc b/methods/ftp.cc index c2c485769..eb7fedd85 100644 --- a/methods/ftp.cc +++ b/methods/ftp.cc @@ -69,7 +69,8 @@ time_t FtpMethod::FailTime = 0; // --------------------------------------------------------------------- /* */ FTPConn::FTPConn(URI Srv) : Len(0), ServerFd(-1), DataFd(-1), - DataListenFd(-1), ServerName(Srv) + DataListenFd(-1), ServerName(Srv), + ForceExtended(false), TryPassive(true) { Debug = _config->FindB("Debug::Acquire::Ftp",false); PasvAddr = 0; |