Commit a9ba2f52 authored by Dominik Charousset's avatar Dominik Charousset

fixed bug when compiling in debug mode

parent b2b6fc6c
...@@ -123,7 +123,7 @@ network::io_stream_ptr ipv4_io_stream::from_native_socket(native_socket_type fd) ...@@ -123,7 +123,7 @@ network::io_stream_ptr ipv4_io_stream::from_native_socket(native_socket_type fd)
network::io_stream_ptr ipv4_io_stream::connect_to(const char* host, network::io_stream_ptr ipv4_io_stream::connect_to(const char* host,
std::uint16_t port) { std::uint16_t port) {
CPPA_LOG_INFO("try to connect to " << host << " on port " << port); CPPA_LOGF_INFO("try to connect to " << host << " on port " << port);
struct sockaddr_in serv_addr; struct sockaddr_in serv_addr;
struct hostent* server; struct hostent* server;
native_socket_type fd = socket(AF_INET, SOCK_STREAM, 0); native_socket_type fd = socket(AF_INET, SOCK_STREAM, 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment