mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 15:33:55 +02:00
15 lines
506 B
Plaintext
15 lines
506 B
Plaintext
Correctly qualify bind
|
|
|
|
Index: src/netrender.cpp
|
|
--- src/netrender.cpp.orig
|
|
+++ src/netrender.cpp
|
|
@@ -92,7 +92,7 @@ bool CNetRender::SetServer(char *portNo, char *statusO
|
|
sizeof(timeout)) < 0)
|
|
std::cout << "socket options error " << strerror(errno);
|
|
|
|
- status = bind(socketfd, host_info_list->ai_addr, host_info_list->ai_addrlen);
|
|
+ status = ::bind(socketfd, host_info_list->ai_addr, host_info_list->ai_addrlen);
|
|
if (status == -1)
|
|
{
|
|
std::cout << "bind error" << std::endl ;
|