1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
freebsd-ports/net-mgmt/openbmp/files/patch-Server_src_client__thread.cpp
2018-03-07 12:41:33 +00:00

12 lines
477 B
C++

--- Server/src/client_thread.cpp.orig 2017-09-14 09:34:45 UTC
+++ Server/src/client_thread.cpp
@@ -242,7 +242,7 @@ void *ClientThread(void *arg) {
LOG_INFO("%s: %s - Thread for sock [%d] ended", cInfo.client->c_ip, str, cInfo.client->c_sock);
close(sock_fds[0]);
close(sock_fds[1]);
-#ifndef __APPLE__
+#if !defined(__APPLE__) and !defined(__FreeBSD__)
} catch (abi::__forced_unwind&) {
close(sock_fds[0]);
close(sock_fds[1]);