From 12e41c609eafa1722825093ad314414bc157ca44 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Thu, 1 Feb 2018 23:35:34 -0800 Subject: [PATCH] Fix #393 --- src/utils.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); }