diff options
Diffstat (limited to 'devel/kaptain/files/patch-communication.cpp')
-rw-r--r-- | devel/kaptain/files/patch-communication.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/devel/kaptain/files/patch-communication.cpp b/devel/kaptain/files/patch-communication.cpp deleted file mode 100644 index 6712c8624ea0..000000000000 --- a/devel/kaptain/files/patch-communication.cpp +++ /dev/null @@ -1,15 +0,0 @@ -communication.cpp:108:32: error: invalid operands to binary expression ('__bind<int &, sockaddr *, unsigned int>' and 'int') - sizeof (struct sockaddr)) == -1) - ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~ - ---- communication.cpp.orig 2018-08-26 18:50:21 UTC -+++ communication.cpp -@@ -104,7 +104,7 @@ bool Communicator::setup_socket_server(string port_str - memset(&(my_addr.sin_zero), '\0', 8); // zero the rest of the struct - - /* bind */ -- if (bind(socket_fd, (struct sockaddr *)&my_addr, -+ if (::bind(socket_fd, (struct sockaddr *)&my_addr, - sizeof (struct sockaddr)) == -1) - { - MAKE_ERROR(string("bind: ")+string(strerror(errno))+string(".\n")); |