summaryrefslogtreecommitdiff
path: root/irc/ctrlproxy/files/patch-lib_connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'irc/ctrlproxy/files/patch-lib_connection.c')
-rw-r--r--irc/ctrlproxy/files/patch-lib_connection.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/irc/ctrlproxy/files/patch-lib_connection.c b/irc/ctrlproxy/files/patch-lib_connection.c
deleted file mode 100644
index 822eedb51e01..000000000000
--- a/irc/ctrlproxy/files/patch-lib_connection.c
+++ /dev/null
@@ -1,15 +0,0 @@
---- lib/connection.c.orig
-+++ lib/connection.c
-@@ -676,8 +676,12 @@
- pid_t pid;
- int sock[2];
-
-+#ifdef __FreeBSD__
-+ if (socketpair(PF_LOCAL, SOCK_STREAM, 0, sock) == -1) {
-+#else
- if (socketpair(PF_UNIX, SOCK_STREAM, AF_LOCAL, sock) == -1) {
-+#endif
- network_log(LOG_ERROR, s, "socketpair: %s", strerror(errno));
- return -1;
- }
-