Skip to content

Commit

Permalink
Fix compiling errors
Browse files Browse the repository at this point in the history
  • Loading branch information
CarterLi committed Jul 14, 2023
1 parent 3e5f8fb commit c0a7ed7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/file_server.cpp
Expand Up @@ -153,7 +153,7 @@ int main(int argc, char* argv[]) {
}; bind(sockfd, reinterpret_cast<sockaddr *>(&addr), sizeof (sockaddr_in))) panic("socket binding", errno);

if (listen(sockfd, 128)) panic("listen", errno);
fmt::print("Listening: {}\n", SERVER_PORT);
fmt::print("Listening: {}\n", (uint16_t) SERVER_PORT);

io_service service;

Expand Down

0 comments on commit c0a7ed7

Please sign in to comment.