diff --git a/src/utils.cc b/src/utils.cc index f7de11d9..83bffe3f 100644 --- a/src/utils.cc +++ b/src/utils.cc @@ -215,7 +215,7 @@ static void GetFilesInFolderHelper( if (file.name[0] != '.') { if (file.is_dir) { if (recursive) { - std::string child_dir = q.front().second + file.name + "/"; + std::string child_dir = q.front().first + file.name + "/"; if (!IsSymLink(child_dir)) q.push(make_pair(file.path, child_dir)); }