Skip to content

Commit

Permalink
fix code
Browse files Browse the repository at this point in the history
  • Loading branch information
poor-circle committed May 23, 2024
1 parent 638cbcb commit e0fc4b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmake/config.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
message(STATUS "-------------YLT CONFIG SETTING-------------")
option(YLT_ENABLE_SSL "Enable ssl support" ON)
option(YLT_ENABLE_SSL "Enable ssl support" OFF)
message(STATUS "YLT_ENABLE_SSL: ${YLT_ENABLE_SSL}")
if (YLT_ENABLE_SSL)
find_package(OpenSSL REQUIRED)
Expand Down
2 changes: 1 addition & 1 deletion src/coro_rpc/examples/base_examples/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ int main() {
server2.register_handler<echo>();
// async start server
auto res = server2.async_start();
assert(res.has_value());
assert(!res.hasResult());

// sync start server & sync await server stop
return !server.start();
Expand Down

0 comments on commit e0fc4b8

Please sign in to comment.