GCS_MAVLink: fixed comment

This commit is contained in:
Andrew Tridgell 2019-11-02 21:11:38 +11:00
parent 7c35d2d56a
commit 10ed848dd7
1 changed files with 1 additions and 1 deletions

View File

@ -383,7 +383,7 @@ void GCS_MAVLINK::ftp_worker(void) {
request.data[sizeof(request.data) - 1] = 0; // ensure the path is null terminated request.data[sizeof(request.data) - 1] = 0; // ensure the path is null terminated
// actually open the file // remove the file/dir
if (AP::FS().unlink((char *)request.data) == -1) { if (AP::FS().unlink((char *)request.data) == -1) {
ftp_error(reply, FTP_ERROR::FailErrno); ftp_error(reply, FTP_ERROR::FailErrno);
break; break;