From 70b9306cf8914c4fc5fb3f1f39db16b1f31ec292 Mon Sep 17 00:00:00 2001 From: kibeom lee <46297213+lkb85@users.noreply.github.com> Date: Wed, 5 Feb 2025 19:55:02 +0900 Subject: [PATCH] Fix typo in comments --- Sources/CNIOAtomics/src/cpp_magic.h | 2 +- Sources/CNIOLLHTTP/include/c_nio_llhttp.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/CNIOAtomics/src/cpp_magic.h b/Sources/CNIOAtomics/src/cpp_magic.h index 62afcce3b6..e432eaf264 100644 --- a/Sources/CNIOAtomics/src/cpp_magic.h +++ b/Sources/CNIOAtomics/src/cpp_magic.h @@ -219,7 +219,7 @@ * * 1. The preprocessor expands the arguments to _IF casting the condition to '0' * or '1'. - * 2. The casted condition is concatencated with _IF_ giving _IF_0 or _IF_1. + * 2. The casted condition is concatenated with _IF giving _IF_0 or _IF_1. * 3. The _IF_0 and _IF_1 macros either returns the argument or doesn't (e.g. * they implement the "choice selection" part of the macro). * 4. Note that the "true" clause is in the extra set of brackets; thus these diff --git a/Sources/CNIOLLHTTP/include/c_nio_llhttp.h b/Sources/CNIOLLHTTP/include/c_nio_llhttp.h index e93f0d3c6e..52f76ed307 100644 --- a/Sources/CNIOLLHTTP/include/c_nio_llhttp.h +++ b/Sources/CNIOLLHTTP/include/c_nio_llhttp.h @@ -675,7 +675,7 @@ llhttp_errno_t c_nio_llhttp_execute(llhttp_t* parser, const char* data, size_t l * Requests without `Content-Length` and other messages might require treating * all incoming bytes as the part of the body, up to the last byte of the * connection. This method will invoke `on_message_complete()` callback if the - * request was terminated safely. Otherwise a error code would be returned. + * request was terminated safely. Otherwise an error code would be returned. */ LLHTTP_EXPORT llhttp_errno_t c_nio_llhttp_finish(llhttp_t* parser);