diff --git a/src/vmime/platforms/windows/windowsFile.cpp b/src/vmime/platforms/windows/windowsFile.cpp index 0ab90b16..5ecafa58 100644 --- a/src/vmime/platforms/windows/windowsFile.cpp +++ b/src/vmime/platforms/windows/windowsFile.cpp @@ -352,7 +352,7 @@ void windowsFile::createDirectoryImpl(const vmime::utility::file::path& fullPath { const vmime::string nativePath = windowsFileSystemFactory::pathToStringImpl(path); - windowsFile tmp(fullPath); + windowsFile tmp(path); if (tmp.isDirectory()) return;