From 7591e33f5aa76cda3a477a317d16e8d53ec65626 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 2 Nov 2019 21:11:38 +1100 Subject: [PATCH] GCS_MAVLink: fixed comment --- libraries/GCS_MAVLink/GCS_FTP.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/GCS_MAVLink/GCS_FTP.cpp b/libraries/GCS_MAVLink/GCS_FTP.cpp index 5e75ad266c..57e53deb0a 100644 --- a/libraries/GCS_MAVLink/GCS_FTP.cpp +++ b/libraries/GCS_MAVLink/GCS_FTP.cpp @@ -383,7 +383,7 @@ void GCS_MAVLINK::ftp_worker(void) { 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) { ftp_error(reply, FTP_ERROR::FailErrno); break;