X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=acceptor.cpp;h=2fef9148d9a4a93114986a11eadbcf590dbcb463;hp=8bc16ed846d8f23870779682ffd7118486259e2a;hb=4c0ab81c4f1b5d0e76c5775a01819d3334cc9399;hpb=941a7e35cd1b51dcd15159e23cc4a1e82ae4808b diff --git a/acceptor.cpp b/acceptor.cpp index 8bc16ed..2fef914 100644 --- a/acceptor.cpp +++ b/acceptor.cpp @@ -48,7 +48,7 @@ int create_server_socket(const sockaddr_in6 &addr, SocketType socket_type) exit(1); } - if (bind(server_sock, reinterpret_cast(&addr), sizeof(addr)) == -1) { + if (::bind(server_sock, reinterpret_cast(&addr), sizeof(addr)) == -1) { log_perror("bind"); exit(1); }