From d9d25363b4d222db171e9ee8531b70b9a1df1e39 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Tue, 19 May 2015 07:07:54 +0200 Subject: [PATCH] mavlink FTP: Remove workaround after QGC side fix --- src/modules/mavlink/mavlink_ftp.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/modules/mavlink/mavlink_ftp.cpp b/src/modules/mavlink/mavlink_ftp.cpp index a6c92ac623..233bc2d323 100644 --- a/src/modules/mavlink/mavlink_ftp.cpp +++ b/src/modules/mavlink/mavlink_ftp.cpp @@ -381,8 +381,7 @@ MavlinkFTP::_workList(PayloadHeader* payload) } break; case DTYPE_DIRECTORY: - // XXX @DonLakeFlyer: Remove the first condition for the test setup - if ((entry.d_name[0] == '.') || strcmp(entry.d_name, ".") == 0 || strcmp(entry.d_name, "..") == 0) { + if (strcmp(entry.d_name, ".") == 0 || strcmp(entry.d_name, "..") == 0) { // Don't bother sending these back direntType = kDirentSkip; } else {