Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Sources/CNIOAtomics/src/cpp_magic.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* 2. The casted condition is concatenated 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
Expand Down
2 changes: 1 addition & 1 deletion Sources/CNIOLLHTTP/include/c_nio_llhttp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can't change this file: it's vendored from llhttp.

*/
LLHTTP_EXPORT
llhttp_errno_t c_nio_llhttp_finish(llhttp_t* parser);
Expand Down