Skip to content

Commit 9a81f4a

Browse files
committed
Server: Fix printf
1 parent c4b8c47 commit 9a81f4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/server/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ int main(int argc, const char* argv[]) {
693693
std::thread t([&]() { svr->listen_after_bind(); });
694694
svr->wait_until_ready();
695695

696-
printf("Server listening at %s:%d\n",params.host,params.port);
696+
printf("Server listening at %s:%d\n",params.host.c_str(),params.port);
697697

698698
while(1);
699699

0 commit comments

Comments
 (0)