Skip to content

Commit

Permalink
Os/Async/Network: fix typo in static_assert()
Browse files Browse the repository at this point in the history
Now network module would work if SONETWORKCONN == 128.
  • Loading branch information
leha-bot committed Sep 3, 2024
1 parent e491b70 commit b388b47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Os/Async/Network/Config.hpp.in
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ struct Config: public flame_ide::NonCreational
# define SOMAXCONN1_STR(VALUE) #VALUE
# define SOMAXCONN_STR(VALUE) SOMAXCONN1_STR(VALUE)
static_assert(
TCP_SERVER_BACKLOG < flame_ide::os::SOCKET_TCP_MAX_CLIENTS
TCP_SERVER_BACKLOG <= flame_ide::os::SOCKET_TCP_MAX_CLIENTS
, "Generated server backlog more than SOMAXCONN = " SOMAXCONN_STR(SOMAXCONN)
);
# undef SOMAXCONN_STR
Expand Down

0 comments on commit b388b47

Please sign in to comment.