diff options
author | David Crocker <dcrocker@eschertech.com> | 2021-08-11 13:52:44 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2021-08-11 13:52:44 +0300 |
commit | 41804824256d7b9d4f6650438b7349f82c33bceb (patch) | |
tree | dea6b61987b728922f898f8320a25a260feff04f /src/Networking/UploadingNetworkResponder.cpp | |
parent | e00c187f89a9592f923e37c83c9b6375e48c7714 (diff) |
Minor change
Diffstat (limited to 'src/Networking/UploadingNetworkResponder.cpp')
-rw-r--r-- | src/Networking/UploadingNetworkResponder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Networking/UploadingNetworkResponder.cpp b/src/Networking/UploadingNetworkResponder.cpp index cbc04e8f..5b4245de 100644 --- a/src/Networking/UploadingNetworkResponder.cpp +++ b/src/Networking/UploadingNetworkResponder.cpp @@ -116,7 +116,7 @@ void UploadingNetworkResponder::FinishUpload(uint32_t fileLength, time_t fileLas else { String<MaxFilenameLength> origFilename; - origFilename.catn(uploadFilename, filenameBeingProcessed.GetRef().strlen() - strlen(UPLOAD_EXTENSION)); + origFilename.copy(uploadFilename, filenameBeingProcessed.GetRef().strlen() - strlen(UPLOAD_EXTENSION)); // Rename the uploaded file to it's original name MassStorage::Rename(uploadFilename, origFilename.c_str(), true, true); |