diff options
Diffstat (limited to 'src/zenhttp/httpshared.cpp')
| -rw-r--r-- | src/zenhttp/httpshared.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/zenhttp/httpshared.cpp b/src/zenhttp/httpshared.cpp index 9ee5dc0fb..5421fcba5 100644 --- a/src/zenhttp/httpshared.cpp +++ b/src/zenhttp/httpshared.cpp @@ -126,7 +126,7 @@ IsLocalRef(tsl::robin_map<void*, std::string>& FileNameMap, ZEN_UNUSED(TargetProcessHandle); ZEN_UNUSED(DuplicatedHandles); // Not supported on Linux/Mac. Could potentially use pidfd_getfd() but that requires a fairly new Linux kernel/includes and to - // deal with acceess rights etc. + // deal with access rights etc. #endif // ZEN_PLATFORM_WINDOWS if (UseFilePath) { @@ -503,13 +503,12 @@ ParsePackageMessage(IoBuffer Payload, std::function<IoBuffer(const IoHash&, uint } else { - // Make a copy of the buffer so we attachements don't reference the entire payload + // Make a copy of the buffer so the attachments don't reference the entire payload IoBuffer AttachmentBufferCopy = CreateBuffer(Entry.AttachmentHash, AttachmentSize); ZEN_ASSERT(AttachmentBufferCopy); ZEN_ASSERT(AttachmentBufferCopy.Size() == AttachmentSize); AttachmentBufferCopy.GetMutableView().CopyFrom(AttachmentBuffer.GetView()); - CbAttachment Attachment(SharedBuffer{AttachmentBufferCopy}); Attachments.emplace_back(SharedBuffer{AttachmentBufferCopy}); } } |