diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2012-03-13 13:52:28 +0100 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2012-03-13 13:52:28 +0100 |
commit | f14be456322a2c7310488c8a4bdec1d06fcf0e8d (patch) | |
tree | 53bb984ac978abfa11ac9ae073b684523ab40685 /methods/ftp.cc | |
parent | fa9c66be294a16e49b61ba6db491c506ad08cde2 (diff) |
cherry pick 2217.1.26 (cppcheck fixes)
Diffstat (limited to 'methods/ftp.cc')
-rw-r--r-- | methods/ftp.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/methods/ftp.cc b/methods/ftp.cc index ad8a7b828..b1e8d2b0a 100644 --- a/methods/ftp.cc +++ b/methods/ftp.cc @@ -77,6 +77,7 @@ FTPConn::FTPConn(URI Srv) : Len(0), ServerFd(-1), DataFd(-1), { Debug = _config->FindB("Debug::Acquire::Ftp",false); PasvAddr = 0; + Buffer[0] = '\0'; } /*}}}*/ // FTPConn::~FTPConn - Destructor /*{{{*/ |