• Sébastien Blin's avatar
    filetransfer: avoid to close files twice · aa4f3abd
    Sébastien Blin authored
    For incoming file, FTP should be the entry point for the daemon to close
    the stream. And this info is already stored into ChanneledFileTransfer,
    so just protect FtpServer::closeCurrentFile() to avoid to close
    the stream twice
    Change-Id: I48bc8cc709e40cdff3c5e930ebfacf63c91f20ac
    Gitlab: #285
ftp_server.cpp 7.31 KB