diff options
| author | Stefan Boberg <[email protected]> | 2023-10-17 14:28:13 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2023-10-17 14:28:13 +0200 |
| commit | 523f102938c052cbd29dac7afd0d7b83d26ca373 (patch) | |
| tree | 6e43b81f91970e302f393fe150fee9d14ebdc871 /src/zenhttp/httpshared.cpp | |
| parent | 0.2.28-pre2 (diff) | |
| download | zen-523f102938c052cbd29dac7afd0d7b83d26ca373.tar.xz zen-523f102938c052cbd29dac7afd0d7b83d26ca373.zip | |
minor: fixed some typos
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}); } } |