1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00
freebsd-ports/net/xprobe/files/patch-src-xplib-xp_lib.cc
Sunpoet Po-Chuan Hsieh dc38ef1ef4 Fix build with Clang 6
MFH:		2018Q1
2018-02-11 14:37:52 +00:00

12 lines
374 B
C++

--- src/xplib/xp_lib.cc.orig 2005-07-27 08:38:16 UTC
+++ src/xplib/xp_lib.cc
@@ -82,7 +82,7 @@ int xp_lib::OpenUDPSocket(struct sockadd
return FAIL;
}
if (bind_sin != NULL)
- if (bind(sock, (struct sockaddr *)bind_sin, sizeof(struct sockaddr_in)) == -1) {
+ if (::bind(sock, (struct sockaddr *)bind_sin, sizeof(struct sockaddr_in)) == -1) {
return FAIL;
}