We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4b8c47 commit 9a81f4aCopy full SHA for 9a81f4a
examples/server/main.cpp
@@ -693,7 +693,7 @@ int main(int argc, const char* argv[]) {
693
std::thread t([&]() { svr->listen_after_bind(); });
694
svr->wait_until_ready();
695
696
- printf("Server listening at %s:%d\n",params.host,params.port);
+ printf("Server listening at %s:%d\n",params.host.c_str(),params.port);
697
698
while(1);
699
0 commit comments