~georgeunix-5/lwan-unofficial/master

Viewing all changes in revision 2154.

  • Committer: Leandro Pereira
  • Date: 2018-10-14 15:21:48 UTC
  • Revision ID: git-v1:0d6efa9dca89cf77669efa5951c425173c0cb7ff
Use a macro to build initial request processing flags

It's UB to shift a boolean integer, so the macro casts the boolean
to an uint32_t before shifting.  Also, do a static_asserto to ensure
that enum_request_flags has the same size as a uint32_t.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: