summaryrefslogtreecommitdiff
path: root/net/udt/files/patch-test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'net/udt/files/patch-test.cpp')
-rw-r--r--net/udt/files/patch-test.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/net/udt/files/patch-test.cpp b/net/udt/files/patch-test.cpp
new file mode 100644
index 000000000000..d652e8e31c03
--- /dev/null
+++ b/net/udt/files/patch-test.cpp
@@ -0,0 +1,9 @@
+--- app/test.cpp 2013-02-23 03:32:36
++++ app/test.cpp 2018-01-21 02:11:47
+@@ -88,5 +88,5 @@
+
+ ssock = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
+- if (bind(ssock, res->ai_addr, res->ai_addrlen) != 0)
++ if (::bind(ssock, res->ai_addr, res->ai_addrlen) != 0)
+ {
+ return -1;