From ace1e7292ee6ac27148bf7434f022c2f45c83842 Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Thu, 23 Feb 2017 01:00:00 -0600 Subject: [PATCH] Comments --- SiaDrive.Api/UploadManager.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SiaDrive.Api/UploadManager.cpp b/SiaDrive.Api/UploadManager.cpp index e7f2590..1a99301 100644 --- a/SiaDrive.Api/UploadManager.cpp +++ b/SiaDrive.Api/UploadManager.cpp @@ -233,6 +233,9 @@ UploadError CUploadManager::AddOrUpdate(const String& siaPath, String filePath) // Crash during copy - on startup, check for copying status and delete .siadrive // Crash after copy but before db update - on startup, check for copying status and delete .siadrive + + // Strip drive specification (i.e. C:\) + // TODO If mount to drive is ever enabled, this will need to change String siaDriveFileName = GenerateSha256(&filePath[3]) + L".siadrive"; String siaDriveFilePath;