summaryrefslogtreecommitdiff
path: root/mail/fetchmail/patches/patch-ba
diff options
context:
space:
mode:
Diffstat (limited to 'mail/fetchmail/patches/patch-ba')
-rw-r--r--mail/fetchmail/patches/patch-ba30
1 files changed, 0 insertions, 30 deletions
diff --git a/mail/fetchmail/patches/patch-ba b/mail/fetchmail/patches/patch-ba
deleted file mode 100644
index b14d0feec38..00000000000
--- a/mail/fetchmail/patches/patch-ba
+++ /dev/null
@@ -1,30 +0,0 @@
-$NetBSD: patch-ba,v 1.7 1999/07/07 23:28:13 itojun Exp $
-
---- socket.c.orig Tue Feb 2 18:33:38 1999
-+++ socket.c Mon Jun 7 23:12:27 1999
-@@ -96,6 +96,7 @@
- void *request = NULL;
- int requestlen;
- #endif /* NET_SECURITY */
-+ int i;
-
- #ifdef HAVE_SOCKETPAIR
- if (plugin)
-@@ -122,7 +123,17 @@
-
- ret:
- #else /* NET_SECURITY */
-+#if 0
- i = inner_connect(ai, NULL, 0, NULL, NULL, "fetchmail", NULL);
-+#else
-+ i = socket(ai->ai_family, ai->ai_socktype, 0);
-+ if (i < 0)
-+ return -1;
-+ if (connect(i, (struct sockaddr *) ai->ai_addr, ai->ai_addrlen) < 0) {
-+ close(i);
-+ return -1;
-+ }
-+#endif
- #endif /* NET_SECURITY */
-
- freeaddrinfo(ai);